LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using Visa "resource name" control with GPIB example

good morning

I have in my pc two resources of GPIB (Ni-Enet and HP-HPIB card) each one has differet VISA name (ie:GPIB0,GPIB1)
means Ni-Enet is GPIB0 and HP-HPIB card is GPIB1.

I tries to use the example Labview<>GPIB to communicate with GPIB1 but it failes
because the address given (string), to the gpib write object is a string and it recognized only the GPIB0 addresses

i tried to use the "visa resource name" control (used in the example Labview<>Serial)
in the Labview<>GPIB example but it failed. ("visa resource name" shows all resources includes GPIB0 nad GPIB1)


tell me pleae how to use the Labview<>GPIB example to communicate with the equipment addresses used in GPIB1

a bit long , but hope the issue is clear enough..


thanks in advance
Happy new year.
Simon
0 Kudos
Message 1 of 2
(3,238 Views)
You can't use that example with an Agilent GPIB board. The GPIB functions are only for NI boards and the NI-GPIB driver. You should be able to convert it to VISA but you'll have to replace the GPIB Writwe/Read with VISA Write/Read as well as changing the GPIB Address String to a VISA Resource Name.
Message 2 of 2
(3,220 Views)