Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Connect Lecroy WavePro 7300A oscilloscope to Windows XP PC via LAN

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!

 

 

 

0 Kudos
Message 1 of 5
(5,949 Views)

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(5,945 Views)

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

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

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. 

0 Kudos
Message 4 of 5
(5,898 Views)

Thank you very much, all. Setting static IP addresses on the same subnet worked.

0 Kudos
Message 5 of 5
(5,838 Views)