09-06-2012 06:58 AM
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
09-06-2012 12:32 PM
Are you able to ping the Agilent scope?
09-06-2012 02:44 PM
Yes, I am. I can access the web front-end as well, so the ip setup seems to be okay.
09-06-2012 03:41 PM
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?
09-07-2012 03:33 AM
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_