Hi.
I am trying to interact with an AGN5244A over the LAN port. Using a set of LabVIEW programs that have previously worked, some time ago. Now they do not work with the Agilent "Initialize N5244A" vi now comes up with an error that suggests it cannot find the device. The VISA address being used is "TCPIP0::10:47:3:21::5025::SOCKET::inst0::INSTR".
Using ACE (v16.3) and adding a LAN instrument, using the "Add Address" and options "Use IP Address" and "Socket", when I press the "Test Connection" button I am told the instrument is present. When I select "*IDN query" and press "Identify Instrument" I get back the instrument ID string.
I have had a look at the COM/DCOM security and find that there is not an entry for "Everyone". Is this the issue? If so how do I re-establish "Everyone", haven't found how to do this in the documentation I have looked at.
Any suggestions would be helpful as I assume it is a security issue and this area is not my strong point! The PNA-X runs XP Professional.
Thanks
Herbert
I am trying to interact with an AGN5244A over the LAN port. Using a set of LabVIEW programs that have previously worked, some time ago. Now they do not work with the Agilent "Initialize N5244A" vi now comes up with an error that suggests it cannot find the device. The VISA address being used is "TCPIP0::10:47:3:21::5025::SOCKET::inst0::INSTR".
Using ACE (v16.3) and adding a LAN instrument, using the "Add Address" and options "Use IP Address" and "Socket", when I press the "Test Connection" button I am told the instrument is present. When I select "*IDN query" and press "Identify Instrument" I get back the instrument ID string.
I have had a look at the COM/DCOM security and find that there is not an entry for "Everyone". Is this the issue? If so how do I re-establish "Everyone", haven't found how to do this in the documentation I have looked at.
Any suggestions would be helpful as I assume it is a security issue and this area is not my strong point! The PNA-X runs XP Professional.
Thanks
Herbert
SOCKET connection are unauthenticated, so there is no security configuration necessary.
The address that you specify appears to be malformed. You said that you were using: "TCPIP0::10:47:3:21::5025::SOCKET::inst0::INSTR".
First, an IP address should use "." instead of ":". (I don't know, maybe VISA allows both - but I would change it to a ".")
Also, the inst0 and INSTR isn't used for a socket.
Here's what Agilent Connection Expert is showing as the valid VISA address for your IP address:
TCPIP0::10.47.3.21::5025::SOCKET
---
But, if you are still seeing errors: I have these questions. Did the program work with the N5244A before? And, what is the specific error message that you are getting?