10-26-2006 12:47 PM
Sending a query to the instrument and then sending another command or query
before reading the response to the first query
10-26-2006 01:03 PM
10-26-2006 01:56 PM
thank you!
What´s the difference between program with GPIB and using VISA? I can use visa ?
10-26-2006 02:10 PM
I don't want to go into the whole history of VISA but it is an API that is capable of of communicating over a wide variety of hardware. It supports GPIB, serial, USB, ethernet, TCP/IP, PXI, etc. A single driver for an instrument can be used with any of these interfaces and that makes VISA highly portable and eases the task of people who write drivers since they only have to learn a single API. Even if you stick with only GPIB, it is portable across GPIB controllers from different vendors as long as they provide a VISA driver. For example, if you switched from an NI to an Agilent GPIB board, your code would not have to change. The GPIB functions you are using will work only with NI cards. All new drivers from NI are written with VISA functions. If you submiot a driver to NI for approval, it too has to be written with VISA.
By the way, someone has already written a driver for the 2400. You might want to look at http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E941C659CE034080020E74861 .