Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Initialize Visa Agilent N57

Solved!
Go to solution

I am trying to initialize a session to an Agilent N5764A. I keep getting an error code -1074001254 saying

 

N5700 Write to Instrument -> Config

Voltage Limit.vi -> N5700 Getting Strarted.vi ->

Agilent 5700 Initialize.vi ->

<ERR> Error sending N5700 Command:

:VOLT    0

<ERR> n5700 "SYST:ERR?" returned:

-410, "Query INTERRUPTED"

 

The weird thing is that I have 2 of these agilents connected to a PXI Box via GPIB. One of them has address 5 and the other 6 (the one giving the error). When I change the address to 5 and re-run the .vi, it initializes and works fine. I am using the built in tlabview initialize function, and i have tried closing, clearing the visa session, as well as restarting the computer, and also moving around the GPIB connections to no avail. Any advice would be great.

Thanks  

0 Kudos
Message 1 of 3
(4,312 Views)
Have you run it with just one instrument connected? How about when you execute the commands in MAX? Are both instruments at the same firmware level? Do you get the error when you set reset to false?
0 Kudos
Message 2 of 3
(4,294 Views)
Solution
Accepted by topic author lvuser333

I came to the realization that I was trying to configure a 3rd agilent that was connected to the system, expcept it was a different model number so i was using the wrong .vi. Thanks for trying to help however.

0 Kudos
Message 3 of 3
(4,290 Views)