取消
显示结果 
搜索替代 
您的意思是: 

Error 85 Lecroy Scope

已解决!
转到解答

I am starting a project to automate some scope measurements using Labview 2009.  My Lecroy SDA 18000 is recognized by MAX VISA TCP/IP and appears to send the correct inquiry strings back.  I downloaded the LCWAVE driver that is supported by NI.  When I try to run the initialize vi or any others I get an error 85 as shown below.  I am not sure what to do as all Labview drivers I have used in the past always worked.  Any help would be much appreciated. 

 

Error 85 occurred at lcwave Read Command Error.vi

 

Possible reason(s):

Scan From String (arg 1) in LeCroy Wave Series.lvlib:Read Command Error.vi->LeCroy Wave Series.lvlib:Error Query.vi->LeCroy Wave Series.lvlib:Initialize.vi->Untitled 1

The format of the CMR? response is not as expected. Make sure that the Command Header is not being reprogrammed from the value configured in the Default Instrument Setup VI, where it is configured to OFF with the command CHDR OFF. (Default Instrument Setup.VI is called from Initialize.vi.)


Complete call chain:
     LeCroy Wave Series.lvlib:Read Command Error.vi
     LeCroy Wave Series.lvlib:Error Query.vi
     LeCroy Wave Series.lvlib:Initialize.vi
     Untitled 1

0 项奖励
1 条消息(共 17 条)
10,786 次查看
2 条消息(共 17 条)
10,770 次查看
Thanks for the link.  I think it is a similar problem in that my scope does not appear return the expected string which results in an error 85.  Still completely lost for a next step to take.
0 项奖励
3 条消息(共 17 条)
10,758 次查看
Why don't you look to see if the Command Header is not being reprogrammed like the message says? Are you issuing a reset with the initialize function and is the default instrument set being called? Have you turned on NI-Spy to look at all of the commands being sent?
0 项奖励
4 条消息(共 17 条)
10,745 次查看

Hi JB,

 

Alan from LeCroy Tech Support here.   I'd like to try and reproduce the issue so that we can get it fixed.  What is your VISA Resource string that you are sending into the Initialize VI, and what have you selected on the "Remote" screen for the "Control From" selection buttons?  (Go to Utilities > Utilities Setup... and select the Remote tab) 

 

Thanks,

Alan

 

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

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 项奖励
5 条消息(共 17 条)
10,740 次查看

I had the same problem with our new Lecroy Waverunners when using TCP/IP with the VCIPP Passport

 

What fixed it for me was installing the Lecroy Scope Explorer program

 

I don't know why but it seems to have something the Lecroy VCIPP Passport is missing.

========================
=== Engineer Ambiguously ===
========================
0 项奖励
6 条消息(共 17 条)
10,720 次查看

Hi - Alan from LeCroy Tech Support here... I'm not sure how installing ScopeExplorer would have affected this problem, since this is an application that is completely independent of the VICP Passport (which is a passport for NI-VISA) and of the LabVIEW driver. My hunch is that the error is related to the handling of an error message from the scope when using the new LXI interface type.  If you are using LXI, make sure that you are using a resource string for interfacing via LXI, and if you are using VICP, then make sure to use the resource string VICP::<ip address> (or VICP::hostname).  The choice for LXI vs. VICP is made from the Remote tab of the Utilites setup screens.  I find that when a compatible resource name and control type are selected, then no errors occur.

 

Best Regards,

Alan

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

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 项奖励
7 条消息(共 17 条)
10,710 次查看

Sorry for the ignorance, but I am not sure where to select the "Remote" screen for the "Control From" selection buttons?  (Go to Utilities > Utilities Setup... and select the Remote tab).  Is that in MAX or Labview?  I can't find the Utilities option.  Let me know if I don't have the scope setup properly.  I just went into MAX -> create new -> VISA TCP/IP Resource -> Auto Detect LAN Instrument, and then I selected the Lecroy scope.  Is this the correct way to setup a Ethernet device?  I attached some screenshot in case that helps make it more clear.  Thanks

下载全部
0 项奖励
8 条消息(共 17 条)
10,693 次查看

Also, I did install the latest version of Scope Explorer and connected to the scope over the network.  This did not seem to have any effect on the Labview error.

0 项奖励
9 条消息(共 17 条)
10,691 次查看
解答
接受人 JB_HGST

Hi, Alan from LeCroy Tech Support here...

 

The "Control From" selection is on the oscilloscope; in the scope application, go to Utilities > Utilities Setup... and then to the Remote tab. There are multiple selections:  2 choices for LAN connections, LXI (VXI11) and TCPIP (VICP), GPIB, and Off.  (The VICP choice has been around for about 10 years, the LXI choice is very new, and a likely cause of the problem, since the driver isn't completely tuned for LXI operation. (Although it is compatible.)

 

To connect to the scope as you describe, you must use the LXI connection type.  When using TCPIP (VICP), MAX has no way of knowing the scope is there.  (MAX is not designed to communicate with all types of LAN-controlled instruments)

 

Here's a link to an application note I wrote about how to use the LXI interface; it might be very helpful.

http://www.lecroy.com/tm/library/AppNotes/LXI/LXI_Interfacing_AppNote.pdf

 

The point here is that you need to use a VISA connection string that matches the connection type chosen on the scope.

 

Best Regards, Alan

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

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
10 条消息(共 17 条)
10,688 次查看