LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Lecroy Waverunner TCP/IP vs. LXI

Now, on to the error 85.

 

This is not related to the interface being VICP or VXI-11.

 

This is an error from the "Scan from string" primitive in LabVIEW.  The error is caused by either no data in the input, or the data contains characters that are not in the format you are looking for.

 

i.e. The input is:  "VDIV 1.0" and the primitive is scanning for a number.  It sees the "V" and generates an error.

 

If the input was only "1.0", there would not be an error.

 

Typically, when the error occurs, it is because the scope is setup to echo the query we sent it and/or respond with a header before the data.

 

The LabVIEW driver for the LeCroy scopes sends a couple of commands to turn these off.

 

I will not go into the details but here are the commands that are sent:

CORD HI

CFMT DEF9,BYTE,BIN

CHDR OFF

 

Cheers,

Leonard Brown

Applications Engineer

Teledyne LeCroy

 

0 Kudos
Message 11 of 17
(3,699 Views)

@LeonardBrown wrote:

Now, on to the error 85....


Leonard,

 

Tema is getting the error because the reply from the instrument was "WARNING : CURRENT REMOTE CONTROL INTERFACE IS TCPIP\n".  This is definately not fitting the scan format.  He needs to figure out why he's getting that reply and then, hopefully, all will be well.

 

See here for a little more background:http://forums.ni.com/t5/LabVIEW/Lecroy-Waverunner-TCP-IP-Error-85-in-Labview-code/m-p/2122496


GCentral
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 12 of 17
(3,694 Views)

Hi,

 

Take a look at my previous post (just before the error 85 post).

 

They have the scope setup for VICP and are using an alias or using TCPIP0::ip address::inst0::INSTR as the resource.

 

It comes down to:

 

For the VICP connection, always use VICP::ip address of scope  for the resource name.

 

For the VXI-11 connection, you can use an alias or TCPIP0::ip address::inst0::INSTR as the resource.

 

So, they can either change the connection type on the scope, or change the resource name being used.

 

I hope this helps.

 

Leonard Brown

Applications Engineer

Teledyne LeCroy

 

 

 

 

0 Kudos
Message 13 of 17
(3,683 Views)

Hi, 

i am using the 32bit win 7 labview 2017 to control teledyne lecroy wr625zi oscilloscope through visa function by LAN TCPIP is it possible or not. if yes how or if not what should i use as communication interface it would be very helpful if provide complete details on this specific task.. 

thanking you.

0 Kudos
Message 14 of 17
(2,982 Views)

Hi RajeshKoppa,

 

There appears to be a LeCroy WaveRunner 625Zi driver hosted on our Instrument Driver Network. Assuming you have LabVIEW 2017 (32-bit) installed as well as NI-VISA 18.0 (in that order), you can follow How do I Connect to a Third-Party Instrument in LabVIEW? to associate the driver with LabVIEW. In addition, an updated and more generalized version for installing third-party instrument drivers can be found here.

 

Also, it looks like this thread is from a couple years ago. If you need further help, I recommend creating a new forum post and elaborating upon the information you provided here so that it can receive increased visibility from our NI community.

Mike B.
Technical Support Engineer
National Instruments
Message 15 of 17
(2,969 Views)

thank you mike, 

0 Kudos
Message 16 of 17
(2,945 Views)

Hi mike, 

     I have attached the block diagrams, I  am getting error 66 and error 56.  I am using LabVIEW on  a server or virtual pc or remote pc,  both the thin client , and WR625ZI   Teledyne Lecroy  has only LAN port so i have used switch for connection,  My point is , is intranet is creating any problem. 

Spoiler
 

 

0 Kudos
Message 17 of 17
(2,942 Views)