06-05-2006 12:11 PM
06-05-2006 12:53 PM
I would abandon the Call Libraray Function node route completely.
Just use LabVIEW's built-in GPIB Read and GPIB Write and GPIB Init elements.
And if this instrument supports VISA, I would use LabVIEW's VISA Open, VISA Write, and VISA Read.
06-05-2006 01:00 PM
06-05-2006 02:05 PM
I actually tried that before. As the HP3488A switch instrument is very old and came out before IEEE488.2 got introduced, it still uses IEEE 488.1, or HPIB commands. When I try using MAX or even my Agilent IO Control, it shows that there is an instrument connect to GPIB address 10, but neither programs can auto-identify the instrument using the *IDN? query. Even so, I tried typing ID? in both programs and I got no data back from the instrument. I'm not too sure as to what the problem is since I always get "\n" back from the instrument's reply. I even tried changing the termination character enable to TRUE and I still got nothing back.
However, on the front local display of the switch, I can see arrow indicators moving between TALK and LISTEN whenever I perform a write or write/read command. But no data gets sent or received because I couldn't perform any write commands to change the switch. If anyone can tell me what the real problem is that would be great. But if not, then I will have to use the Call Library Node because I know that my VB6 code actually works on the HPIB instrument and I could simply use this gpib-32.dll file on Labview and perform the same instructions, which should allow me to talk to the switch. Can anyone tell me how to properly set up a Call Library Function Node as I have errors using the gpib-32.dll file (please see my previous message)?
06-05-2006 02:28 PM
06-05-2006 02:49 PM
06-05-2006 04:37 PM
06-05-2006 05:23 PM
06-05-2006 06:50 PM
06-05-2006 07:59 PM