11-30-2006 02:15 PM
11-30-2006
03:09 PM
- last edited on
07-15-2025
11:22 AM
by
Content Cleaner
You need to install NI-VISA. VISA is an API that sits above GPIB and is an interface to not only GPIB, but serial, ethernet, usb, vxi, pci, and pci instruments. You would have gotten NI-VISA with LabVIEW and also with your GPIB board (if that's what you are using) but you can also get the latest version from https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html.
p.s. In the future, you should post similar questions to the Instrument Control board. This is the Multifunction DAQ board.
11-30-2006 04:53 PM
11-30-2006 04:59 PM
That error means ' The given session or object reference is invalid.' If you don't have automatic error dialogs turned on, then right click on the error code of the error out indicator and select Explain Error.
The driver VIs have a control called VISA Resource Name (or something similar). The entry here must match the resource name that the system has found for the instrument when you do a scan for instruments in MAX. Assuming that you did this, right click on the little arrow on the right side of the control and pick your instrument from the list. Assuming it is a GPIB instrument, it would show up as something like GPIB0::n::INSTR where n is the GPIB address of the instrument.
If it still doesn't work, what type of connection to the instrument do you have? What version of LabVIEW?
12-01-2006 01:23 PM
Thank you it worked.
i am looking for a labview program to simulate chart recorder from the data i am getting from two channels of the oscilloscope for a given amount of time.