The data type returned by the DriverLINX 4.0 READ function from the ActiveX
reference is VT_UI1 (unsigned char) which VEE should natively convert this
to Int32. I think the problem is in the VEE conversion. I have verified
that DriverLINX 4.0 READ() works flawlessly in Visual Basic 6.0 and I'm
attempting to avoid writing a wrapper function to import the READ() into
As for matching the data types I have not assigned the output to a variable
of any type. I'm just trying to see what is being returned from the READ()
from the output terminal. I did go ahead assign the READ functions output
to variable and also used the a "Formula" to format the function but got
the same error.
Dale Hauck <firstname.lastname@example.org> on 12/09/2002 05:55:35 PM
To: "'Wade_Keene@raytheon.com'" <Wade_Keene@raytheon.com>
Subject: RE: [vrf] Agilent VEE 5.0 and Keithley DriverLINX 4.0
Assume you have matched the data types? What is the data type?
From: Wade_Keene@raytheon.com [mailto:Wade_Keene@raytheon.com]
Sent: Monday, December 09, 2002 2:12 PM
To: VEE vrf
Subject: [vrf] Agilent VEE 5.0 and Keithley DriverLINX 4.0
After following the "Using the Direct I/O COM API of DriverLINX with
Agilent VEE 5.0" Application Note I am still having problem using
DriverLINX with VEE. I am using the KPCIPIO class to control a Keithley PCI
PIO-24 and when I attempt to read the port I get a Incompatible data error.
All the other functions in the class work without a problem except the READ
(). If you have tried using VEE 5.0 succesfully with DriverLINX please
(See attached file: HPVeeError.bmp)
You are currently subscribed to vrf as: email@example.com
To subscribe send a blank email to "firstname.lastname@example.org".
To unsubscribe send a blank email to "email@example.com".
To send messages to this mailing list, email "firstname.lastname@example.org".
If you need help with the mailing list send a message to "email@example.com".