Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Lecroy WaveRunner 64Xi - Using LabVIEW

Solved!
Go to solution

Hi All,

 

I want to communicate with Lecroy Waverunner 64Xi, I have downloaded the lecroy driver vi's from our NI website(http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=078549B4E9E85646E0440003BA7CCD...). I gone through those examples Its really helpful to know about the configurations.

But, I have few clarifications in Communication Part. Is it possible to communicate with Rs-232 serial port? whether all of those VI's ill support.

 

And I have one more option for communicate with Lecroy by using TCP/IP instr. What are all the basic setup i need to do.?Which cable i should prefer.(Cross cable or Straight Cable).

 

Thanks

 

SIVA 

0 Kudos
Message 1 of 15
(8,703 Views)

It does not list RS-232 support so you would have to add that. Probably just a simple modification to the initialize function. See the Agilent 34401 example that comes with LabVIEW.

 

If you connect the instrument directly to a NIC on your pc, you would use a cross-over cable.

0 Kudos
Message 2 of 15
(8,686 Views)

The LeCroy Scopes do not support RS-232.  Your options with the WR 64Xi are Ethernet or GPIB.

 

If you are going to use the Ethernet option, you will need to add the device in Measurement & Automation Explorer (MAX).

 

I will post a document explaining the procedure as soon as I can. (I have to create it first).

 

As far as the cable to use, Dennis is correct, if you are connecting directly to your LAN on the PC, use a crossover.

0 Kudos
Message 3 of 15
(8,670 Views)

Hi dennis,

Thank you very much for your kind reply. I am start preparing the crossover cable for communication,...

 

Thanks

 

Sivaramkumar

0 Kudos
Message 4 of 15
(8,648 Views)

Hi,

 

I am waiting for your instruction manual. 

 

Thanks

 

Siva.

0 Kudos
Message 5 of 15
(8,647 Views)
Solution
Accepted by sivaramkumar

Sorry for the delay....

Message 6 of 15
(8,624 Views)

Hi, Thank you very much for your support.Today I Establish the VICP communication with Lecroy. The document which you sent to me it was very very helpful.

Thanks lot.

 

At the same time I would like to know and study about VICP communication. If you have any technical related documents Please send it across to me. 

 

Thanks

 

Siva

0 Kudos
Message 7 of 15
(8,581 Views)

Sorry for the long wait.

 

The VICP passport is used by NI-VISA just like the NI-VISA passport for GPIB or the one for Serial.  LeCroy had to create a passport because we use a custom port number for communication.

 

The only documentation available can be found at: http://www.lecroy.com/Support/TechLib/library.aspx?type=1&capid=106&mid=528&smid=656

 

Cheers

Message 8 of 15
(8,459 Views)

Hello, everyone

I also try to communicate with the waverunner 64Xi by using the TcP/IP. I followed all the steps mentioned in the instruction manual. The test all passed. But the problem is I still can not find the visa source name from the labview programs. It shows visa error for the remote system in the measurement and automation explorer.

 

 

vicp.jpg

 

Pass the test:

write.jpg

read.jpg

 

No new source name in the labview program:

labview.jpg

 

Visa error:

 

error.jpg

 

I tried this on two computers. Both of them have the same problem. Could anyone give me some suggestions? Thanks in advanced.

 

Zengguang Qin

 

0 Kudos
Message 9 of 15
(8,082 Views)

Hello Zenguang,

 

The resource will not show up in LabVIEW.  I am still investigating the MAX VISA error.

 

However, MAX indicates an error on my PC also.  If you type VICP:: followed by the IP address of the scope in the VISA Resource control, the driver will make the connection.  I actually deleted the item from MAX and I still can communicate with my WaveRunner scope.

 

I did notice that the first time I begin to type the resource, LabVIEW seems to hang as it scans for resources but it does begin responding again after the scan and I can finish typing in the resource.

 

Regards,

Leonard

0 Kudos
Message 10 of 15
(8,024 Views)