08-14-2012 12:14 PM
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
08-14-2012 12:24 PM - edited 08-14-2012 12:25 PM
@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
08-14-2012 01:27 PM
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
08-09-2018 05:58 AM
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.
08-10-2018 10:01 AM
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.
08-21-2018 05:36 AM
thank you mike,
08-21-2018 06:22 AM
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.