Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems concerning Agilent 89410A programming

Hey!
I have a problem concerning Agilent 89410A signal analyzer programming.
The timeout error (-1073807339) and bundle error (-1074003951) pop up during the "Initialize.vi" execution. The time out error exist in the VISA Read part of the VI.
"The given session or object reference is invalid" error (-1073807346) pops up during "Application.vi" and "Close.vi" executions.
Agilent´s "analyzer address" is set to 16" Should I set something else to specific value?

What to do? I need a piece advice!
(please, step by step)
0 Kudos
Message 1 of 2
(3,555 Views)

Hi,

The -1073807346 error shows that you may be using the wrong resource descriptor.

The first thing you need to do is determine if you are able to communicate with the instrument. Connec the instrument to the GPIB board and power on. In MAX, select "Scan for Instruments". If the instrument is detected (with the ID string) it means that the GPIB communication is working.

Next, open a interactive VISA session. In MAX right-click on the instrument entry and select "Open VISA session". The interactive VISA control will open. Click on the Basic I/O and see if you can perform a Basic read nad write. The control uses the exact same functions used by the instrument driver. If it work, then you'll need to look at your VI.

Use the instrument driver Ge
tting Started VI and see if you can run it. Make sure you are using the right resource descriptor. The resource descriptor should be GPIB::. id is the number that shows up in MAX for the different GPIB interfaces (GPIB0, GPIB1, etc).

Finally, if it doesn't work, troubleshoot the driver using LabVIEW's debugging facilities, such as highlight execution and NI Spy.

NI-Spy toturial

DiegoF
National Instruments

0 Kudos
Message 2 of 2
(3,555 Views)