LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

what are the VISA equivelants of the GPIB commands such as IBCLR, IBSTOP?

I have recently seen the light on using VISA and I am rewriting some of my old GPIB drivers to more VISA friendly.
Go Cubbies!!
0 Kudos
Message 1 of 3
(3,481 Views)
Yes, VISA is indeed much nicer than direct GPIB driver calls. viClear is basically equivalent to IBCLR and viTerminate can be used the same as IBSTOP. When attempting to determine equivalent commands I usually just open the NI 488.2 Help, determine what exactly the command is doing, and then open the VISA Programmer's Reference Manual and find a VISA command which does the same. Both of those documents should be installed and accessible from your start menu if you have current versions of the drivers installed. As one final tip you can often get better results for this type of question by posting to the GPIB forum rather than the CVI forum (since both the GPIB and VISA interfaces can be used in other languages, you'll reach a more specific audience if you use the
GPIB forum.)

Hope that helps!

Ryan K.
NI
Message 2 of 3
(3,481 Views)
There's also a section describing how these calls correlate in the NI-VISA Help file (new to NI-VISA 3.1; previously available in the NI-VISA User Manual). See the section called "Comparison Between NI-VISA and NI-488.2 APIs".

Dan Mondrik
National Instruments
0 Kudos
Message 3 of 3
(3,481 Views)