Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i program GPIB devices in Labview using and agilent 82357B

Hi Kevin,

I am not sure what else to suggest. What version of LabVIEW and NI-VISA are you using? Can you try the LabVIEW <-> GPIB example (Example finder>>Hardware input and output>>GPIB) and put in 10 for the GPIB address. The only thing I can really suggest is to make sure you have the latest version of NI-VISA.

Jon
0 Kudos
Message 11 of 19
(4,948 Views)
Hi Jon,
 
I had to upgrade to the latest version of visa to get the resources to show up in max at all. When i run the LabVIEW<->GPIB.vi i get an error 7 message (non-existent board).
I've attached a screen grab. If you are unable to help further can you suggest anyone who may be able to? 
0 Kudos
Message 12 of 19
(4,947 Views)
You cannot use the GPIB functions with a non-NI controller. You have to use VISA.
0 Kudos
Message 13 of 19
(4,939 Views)
Fair enough. But i don't know how to do this. Please see my original post. Can you offer any advice for tutorials to follow or example code which may help me? I have never used visa as i have only ever had to program digital patterns in LabVIEW.
0 Kudos
Message 14 of 19
(4,938 Views)
A good place to look is at some of the instrument drivers. The 34401 has shipped with LabVIEW for as long as I can remember. The basic VISA functions (VISA Read and VISA Write) are equivalent to a GPIB Read and GPIB Write. There's also a tutorial at http://zone.ni.com/devzone/cda/tut/p/id/3702 that you might find helpful.
0 Kudos
Message 15 of 19
(4,927 Views)
This problem was resolved by uninstalling NI visa 4.1 and then re-installing it. There had obviously been some problem with the link between LabVIEW and visa. Now a drop down list appears in the visa resource name and my instrument appears on it. The example codes for the Agilent generator now work fine.
 
Many thanks to Jon
0 Kudos
Message 16 of 19
(4,918 Views)

Hi,

I'm having the exact same problem as Kevin was having, although a full reinstall of VISA doens't solve it. In MAX, everything works fine, so I can communicate with my GPIB devices there, but when I try to get a drop down listing for a VISA I/O control in labview, it gives an empty list and crashes after that. Any more ideas that might help to solve this?

Thanks in advance,

Caspar

0 Kudos
Message 17 of 19
(4,765 Views)
Hi,
 
I have the same problem. I have reinstall VISA 4.2 with NI-Serial 3.3 after installing Agilent I/O 14.2 and it still does not work.
 
One solution to still be able to communicate with, is not using VISA control or VISA constant but simply text control or constant. Use directly the ressource not the alias.
 
I have joind an example.
 
With 82357B connected Labview loses the aliases (still do not know why)
 
Regards,
 
Yoann
0 Kudos
Message 18 of 19
(4,582 Views)

Hi,

I have exactly the same problem. Everything's fine, GPIB to USB is detected through Agilent IO expert. NI MAX shows the CPIB connection. But now pull-down option from LabVIEW.

0 Kudos
Message 19 of 19
(2,637 Views)