Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

waverunner 610Zi

Hi!

I am trying to control Lecroy WaveRunner 610Zi connected through local network using Ethernet cable (not cross Ethernet cable which is recommended if connected directly to PC).  I have set the static ip: 192.168.222.152 for the scope and 192.168.222.168 for the PC (attached screenshot). In such situation I can ping  192.168.222.152 from the PC (attached screenshot).  After that I downloaded the “LeCroy Wave Series” software, unzip and moved the unzipped folder to “C:\Program Files (x86)\National Instruments\LabVIEW 2012\instr.lib”.  Now I am trying to run some test program from the folder, say “Read Single Waveform” from “C:\Program Files (x86)\National Instruments\LabVIEW 2012\instr.lib\LeCroy Wave Series\Public\Data”.  However, I am able see the “Visa resource name out” only, not the waveform (attached screenshot).  I have tried a few other programs too, however could not get the desired output.  Please suggest me the next step.  Thanks in advance.

0 Kudos
Message 1 of 6
(6,246 Views)

Hello,

 

The issue here is that you appear to be using a TCPIP resource but the scope is setup for the VICP resource. (This requires the VICP passport to be used with NI-VISA).

 

You have two choices here.

 

1. Change the interface type on the scope to LXI(VXI11) and it should work. (Assuming the alias is for a TCPIP connection.  i.e. TCPIP0::ip address::inst0::INSTR)

 

2. Down load and use the VICP passport with the VISA resource:  VICP::ip address   (Aliases do not work with this interface anymore).

 

Aliasis stopped working with the passport when 64 bit LabVIEW was introduced and it has not worked with it since.

 

You can test the resource with LabVIEW or any language that is using NI-VISA, but the VISA Interactive Tool will not work with it, and the resource will not configure correctly in NI-MAX anymore.  (It still works, just not from NI-MAX).

 

Here is a link to the TeledyneLeCroy down load area:  TeledyneLeCroy_Software_Utilities

 

There is a link down the page for the LabVIEW drivers and VICP Passport.

 

Regards,

Leonard Brown
Applications Engineer
Teledyne LeCroy
1-800-553-2769

 

0 Kudos
Message 2 of 6
(6,231 Views)

Dear Mr. Brown,

Thank you very much for the reply.  I have changed the remote connection to LXI(VXI11) (attached screenshot) and everything remain unchanged.  Now I run the program “Read Single Waveform” from “C:\Program Files (x86)\National Instruments\LabVIEW 2012\instr.lib\LeCroy Wave Series\Public\Data”, I saw “Error 85” (attached screenshot).  To be mentioned that I am using SRS delay generator to trigger the scope connected to channel C1 of the scope and monitoring the same pulse.  Trigger mode is “Normal”.  While the program showed the error and stopped, simultaneously the Trigger in the scope “Stop” automatically.

 

For the other solution, I have downloaded VICP passport and installed in my PC (attached screenshot).  The VISA system was configured using the NImax (screenshot attached).  The interface in scope “Remote->TCPIP(VICP)” was set (attached screenshot).  While I was doing this, there appeared some error regarding alias (attached screenshot).  I stopped there.  So please suggest me the next step.

0 Kudos
Message 3 of 6
(6,215 Views)

Hello,

 

Yes, aliases do not work with the VICP interface.  I added a note in my previous message indicating this.

 

There is no reason to do anything in NI-MAX except enable the passport.

 

Then use "VICP::ip address of scope"  and not an alias.

 

Error 85 is telling you that the string was scanned for a number but encountered a non-numeric character.

 

In your case, the response was:  INR some number.

 

This is a result of not turning off the commamd header (echo) on the scope:   CHDR OFF.

 

Now the response to the INR? query will not include the "INR" and will just be a number.

 

So, both interface types you were using appear to be working, but you need to turn off the header to fix the "error 85" and when using VICP aliases do not work and there is no need to configure the resource in NI-MAX.  You only need to ensure the VICP Passport is enabled.

 

 

Regards,

Leonard Brown
Applications Engineer
Teledyne LeCroy
1-800-553-2769

 

 

0 Kudos
Message 4 of 6
(6,202 Views)

Dear Mr. Brown,

 

Thank you for the reply.  I am not able to follow your following comment

"This is a result of not turning off the commamd header (echo) on the scope:   CHDR OFF."

I understood the purpose of it but please guidel me technically how to turn off the command header.

 

thanks,

0 Kudos
Message 5 of 6
(6,170 Views)

Hi,

 

Sorry, I was out of the office for a bit.

 

You need to send the commad:  CHDR OFF.

 

CHDR is the remote control command and OFF is the argument.  You can use:  CHDR OFF,  CHDR LONG, or CHDR SHORT.

 

CHDR is the short form of the command:  Comm_HeaDeR.

 

It is covered on page 109 of the remote control manual:  Remote_Control_Manual

 

 

Regards,

Leonard Brown
Applications Engineer
Teledyne LeCroy
1-800-553-2769

 

0 Kudos
Message 6 of 6
(6,119 Views)