Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent MSO7014A: IVI/VISA connection fails with error 0xBFF0079

Hello,

 

I'm trying to access an Agilent MSO7014A oscilloscope using NI's AG6000 IVI driver.

I've installed the driver and configured the hardware using "TCPIP0::192.168.1.151::INSTR" as the VISA resource descriptor. LAN control is enabled in the device setup.

 

When I try to connect, the connection fails with error 0xBFF0079 (Invalid protocol).

 

NI Spy log:

 

1.  viOpenDefaultRM (0x05FEBEF8)
Prozess-ID: 0x00000EB4         Thread-ID: 0x000014F4
Startzeitpunkt: 13:38:53.560       Aufrufdauer 00:00:00.001
Status: 0 (VI_SUCCESS)

 

2.  viOpen (0x05FEBEF8, "TCPIP0::192.168.1.151::INSTR", 0, 0, 0x00000000)
Prozess-ID: 0x00000EB4         Thread-ID: 0x000014F4
Startzeitpunkt: 13:38:53.561       Aufrufdauer 00:00:00.012
Status: 0xBFFF0079 (VI_ERROR_INV_PROT)

 

3.  viClose (0x05FEBEF8)
Prozess-ID: 0x00000EB4         Thread-ID: 0x000014F4
Startzeitpunkt: 13:38:53.573       Aufrufdauer 00:00:00.000
Status: 0 (VI_SUCCESS)

 

4.  viStatusDesc (0x00000000, 0xBFFF0079, "Das angegebene ...l ist ung.ltig.")
Prozess-ID: 0x00000EB4         Thread-ID: 0x000014F4
Startzeitpunkt: 13:38:53.574       Aufrufdauer 00:00:00.003
Status: 0 (VI_SUCCESS)

 

I guess that the resource descriptor is not fully correct but I don't have a clue what to change here. Does anyone of you has an idea?

 

Thanks,

mju

 

 

 

 

0 Kudos
Message 1 of 5
(3,767 Views)

Are you able to ping the Agilent scope?

0 Kudos
Message 2 of 5
(3,754 Views)

Yes, I am. I can access the web front-end as well, so the ip setup seems to be okay.

0 Kudos
Message 3 of 5
(3,747 Views)

Are you sure the instrument is using VXI-11/LXI? That is what is required for an INSTR connection. Have you tried a raw socket connection?

Message 4 of 5
(3,743 Views)

Yes, the instrument is using LXI.

 

I haven't been able to open a socket connection to port 5025 either. So I double-checked the lan control option.

I don't know if why but when I disable lan control and re-enable it, port 5025 is open. Then LXI is working is well.

 

Thanks for your help!

 

mju_

0 Kudos
Message 5 of 5
(3,732 Views)