ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Problem in Labview

I am using an Agilent 82357A USB to GPIB controller.  I have set the NI VISA resource as the primary and the Agilent to Secondary.  I can view the Agilent VISA resource in the Max Explorer.  I have one device connected and under Miscallaneous VISA resources, it shows "GPIB0::INTFC" ,"GPIB0::16::INSTR" , "GPIB0::17::INSTR".  This all seems to be working. 

However, in labview I am trying to use the labview GPIBWrite module/function to address "16".  I have tried using "16" and the three addresses listed above.  However, I cannot communicate to the analyser with this function.

any help is appreciated.

Bryan
0 Kudos
Message 1 of 4
(3,164 Views)
You can't use the GPIB functions. Those are only for NI boards. Use the VISA Read and Write functions.
0 Kudos
Message 2 of 4
(3,162 Views)
Thanks Dennis.  I was given a VI that uses the GBIBWrite function but i will either have to change it, get a Labview card, or not use it.
What a shame!
Bryan
0 Kudos
Message 3 of 4
(3,155 Views)
To change a driver that uses VISA instead of GPIB is usually pretty simple but tedious. Generally, it's just a matter of replacing each GPIB Read/Write with VISA Read/Write. You can leave the address string controls as is but I prefer to replace those with a VISA Resource Name.
0 Kudos
Message 4 of 4
(3,150 Views)