03-03-2014 01:30 PM
Hello,
This is my first attempt to connect an oscilloscope to a PC. I cannot use a GPIB connection because the scope doesn't have a GPIB port, so I'm attempting to connect via LAN.
Some background:
- From the Utlilities > Remote menu of the oscilloscope, I can see that the scope is controlled from TCP/IP. Its host name is displayed, but the IP address displayed is 0.0.0.0 (this is not suprising as the manual specifies there is no factory set IP address).
- The PC is connected to the internet wirelessly; the oscilloscope and PC are connected via an ethernet cable
Here are the things I have tried along with the errors received:
- Ran the command ipconfig/all to ensure DHCP is enabled
- Downloaded the VICP Passport for NI-VISA and attempted to run the 'lcwave Acquire Waveform.vi" (from instrument driver) using VICP::<hostname> as the VISA resource name, without having configured a network device in Measurement & Automation Explorer (I read on another forum that using MAX isn't necessary if the VICP passport has been downloaded). Labview produces error "VISA: (Hex 0xBFFF0067) The given session or object reference does not support this operation"
- Tried adding a network device to MAX by manually specifying address information (in addition to supplying the hostname, tried using LAN Device name inst0 and INSTR, as well as port number). When I click Validate, there is an error: "Could not open a VISA session to <resource name>, VISA error code 0xBFFF0011. Insufficient location information or the device resource is not present in the system"
Any ideas for troubleshooting would be greatly appreciated.
Thank you!
03-03-2014 01:45 PM
What I do is make all of the instrumentation LAN addresses static. Then you can make sure everybody is on the same subnet and you should be able to communicate easily that way. You may also have to bypass firewalls on these static address ports.
03-03-2014 04:34 PM
Hello,
You are partially correct in that using the VICP passport with NI-VISA does not work from NI-MAX when using the VISA Interactive Tool. (It stopped working with the GUI change by NI).
That said, you still have to go into NI-MAX and enable the passport. Otherwise LabVIEW will not work with this setup.
From LabVIEW, use: VICP::<ip address of scope> for the resource:
i.e. (My scope IP address is 10.1.10.80) so I open my VISA connection as: VICP::10.1.10.80 and it works as expected.
I hope this helps!
Leonard Brown
Applications Engineer
TeledyneLeCroy
1-800-553-2769
03-05-2014 12:47 AM
Are you running a properly configured DHCP server on the XP PC ? If not, you will have to configure both the PCs ethernet interface and the scopes ethernets manually to static IP-adresses. The DHCP server on your internet router , which is giving an IP-address to the wireless interface , doesn't know anything about the cabled interface on that PC.
03-13-2014 03:29 PM
Thank you very much, all. Setting static IP addresses on the same subnet worked.