Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error-1073807346

HP E3632a
0 Kudos
Message 1 of 2
(3,565 Views)
This error code,

VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.

means that the resource name being used for this instrument is not correct. Most likely you are not specifying the right primary address for the instrument.

You may also want to test communication with IBIC to make sure the card is communicating properly.

Opening IBIC: Measurement and Automation explorer >> Tools >> NI-488.2 >> Interactive Control
Go to this webpage:
http://www.ni.com/support/gpib/max/ibic.htm/
Below the screen shot is a list of commands with definitions of the commands and parameters. Type the commands into the IBIC window.
When you write a command to the instrument, try using a simple query that the instrument will respond to. The command use
d in the example is *IDN?, but that is part of the 488.2 standard and may not work for your instrument. Look in your instrument's user manual for an appropriate command.

You can't get anything to communicate, post NI-Spy captures (use the log to file option under Spy»Options) of you running a scan for instruments in MAX and of you running your program.

NI Spy Tutorial
0 Kudos
Message 2 of 2
(3,565 Views)