LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 85 Lecroy Scope

Solved!
Go to solution
I just switched it to LXI and now it works!!!  Thanks so much!
0 Kudos
Message 11 of 17
(5,374 Views)

Hi JB, Glad you have it up and running!

 

Cheers, Alan

--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 Kudos
Message 12 of 17
(5,371 Views)

Hi,

 

I have encountered the same error with my customer, and unfortunately Alan's (from LeCroy Tech Support) did not helped. However after digging into the problem I realized that the LeCroy WaveRunner 44Xi (Firmware 6.0.1) response to the CMR? command (see lcwave Read Command Error.vi) is "CMR 0". Than this response is passed to the Scan From String.vi which will return an error (see attached BD of the Read Command Error.vi)

 

CMR.jpg).

 

 The workaround is to change the format string constant (%d) in such way that it converts the input string (Command Error response) correctly. For that right click on the Scan From String and Edit Scan String, or simply modify the format string constant as it is shown in below screenshot.

 

CMR fix.jpg 

 

The same modifications needs to be made on the lcwave Read Execution Error.vi and lcwave Read Device Dependent Error.vi by scanning the response string for EXR respectively DDR .

 

These modification helped removing the error 85, which was received even by running the Revision Query.vi. 

 

Now I am wondering whether the error was caused by the LeCroy Instrument Firmware upgrade (CMR?/EXR?/ DDR? command response was changed from 0 to CMR 0), or it is a bug in the LabVIEW Instrument driver for the LeCroy WaveRunner? Maybe Alan can help clarify this question.

 

I hope this is helpful.

 

Regards,

Barna

National Instruments

0 Kudos
Message 13 of 17
(5,288 Views)

Hi dobarni,

 

Alan from LeCroy here, back from vacation.. I suspect that your issue might be that you aren't running the Initialize VI first.  Initialize calls a subvi that sets the communications header to OFF, such that the response to the CMR? query should be "0" rather than "CMR 0".

 

I'm in the process of updating the driver for submission to NI, and have a fix to the Error 85 scenario in it.

 

Best Regards,

Alan

 

--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
Message 14 of 17
(5,240 Views)

Where can I find the initilize VI?

0 Kudos
Message 15 of 17
(3,649 Views)

You should be able to find the Initialize.vi by right clicking on your block diagram and navigating to Instrument I/O > Instrument Drivers > Lecroy > Initialize.vi

 

I don’t have this instrument driver installed so I can’t be sure what the name of the driver is (may not be just Lecroy) or if there is another subpalette within the Lecroy driver palette.

Aaron Douglass
Applications Engineer
National Instruments
0 Kudos
Message 16 of 17
(3,633 Views)

Hi Alan,

If you have fixed the error code 85 without using the LXI, could you please refer me to the link as my Lecroy scope does not have LXI feature and I get this error constantly. Thanks!

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