Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement and Automation Explorer

Solved!
Go to solution

I am using LeCroy WaveRunner 64Xi oscilloscope. When I try to communicate with the instrument through ethernet by using Measurement and Automation Explorer, this error occurred.

Return status code: 0xBFFF0011

Status name: VI_ERROR_RSRC_NFOUND

Insufficient location information or the requested device or resource is not present in the system.

What should I do?

0 Kudos
Message 1 of 9
(7,712 Views)

Hi VPL,

 

Alan from LeCroy Tech Support here...How exactly are you using Measurement and Automation Explorer to connect?  Also, make sure that you have configured the scope for remote control by going to Utilities > Utilities Setup..., and then to the Remote tab.

 

Depending on your version of firmware on your scope, you might have the new LXI interface available to use.  If so, then you can use MAX to create a new TCPIP resource, and automatically find it using VXI11 Discovery.  Here's a link to an app note on LeCroy's website that describes how to do this:  http://www.lecroy.com/tm/library/AppNotes/LXI/LXI_Interfacing_AppNote.pdf

 

If your scope does not have the LXI interface option, please upgrade your firmware. Here's where you can find the firmware download page: http://www.lecroy.com/tm/library/software/firmwareupgrade/default.asp?menuid=8

 

Best Regards,

Alan

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

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
Message 2 of 9
(7,707 Views)
Thank you for the reply. I have upgraded my firmware and now the oscilloscope is present in the system by using LXI interface. However, it is not visible in the configuration tree. How can I create a branch for TCP/IP resources under Device and Interfaces? Under the Device Status, it states that this static device is in an unknown state. What is the problem? And is there any guide for the VISA Test Panel for this ocsilloscope? I don't really understand what is going on with the Test Panel.
0 Kudos
Message 3 of 9
(7,685 Views)

Hi VPL,

 

Please see the section in the Intro to LXI app note (see link in previous message) beginning on page 3 "Automatically Finding Instruments and Create Aliases". This describes how to add the resource to the tree. Once you have the resource added, you'll see a button to open a Test Panel.  See the attached image...  When the test panel opens, go to the tab called "Write", make sure "Async" is unchecked, and hit Execute to send the *idn? query. Then switch to the "Read" tab, again make sure "Async" is unchecked, and click Execute to read the response, which will be the identification string of your scope.

 

If you are still having trouble, please give me a call at 800-553-2769, x6088.

 

Best Regards,

Alan

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

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
Message 4 of 9
(7,675 Views)

Actually I have read through the app note and followed all the instructions written there, and I noticed there is a TCP/IP resource branch under Devices and Interfaces. The device has been added to my system, but it is still not visible under the configuration tree. My MAX does not have the TCP/IP resource branch under Devices and Interfaces. I have to access to my oscilloscope from NI-VISA 4.1 branch.

 

Under the Device Status, it states that this static device is in an unknown state. When I click the Troubleshoot... button, it only says device missing functionality. No further help is given.

 

I try to run some lcwave examples from LabVIEW. However, it seems that LabVIEW could not detect my instrument automatically. I have to enter the resource name manually. And I tried to use the alias to run the example but failed.

 

What should I do? 

0 Kudos
Message 5 of 9
(7,657 Views)

Hi VPL,

 

I'm not sure what's going worng in MAX - maybe someone in NI Tech Support can help you with that. Is there a chance that you have an old version of MAX? I'm using 4.4.0f1.

 

There's actually no need to do anything in MAX to connect to the scope using LabVIEW.  You can enter the VISA resource string into a control that's wired to the Initialize VI.  When using the LXI interface, the resource name would be TCPIP0::<ip address>::inst0::INSTR.  (MAX is convenient because it lets you create an alias, but there is absolutely no requirement to do this.)

 

Best Regards,

Alan

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

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 Kudos
Message 6 of 9
(7,638 Views)
Solution
Accepted by topic author VPL

Please make sure you are using NI-VISA 4.5 (http://joule.ni.com/nidu/cds/view/p/id/1267/lang/en) or higher.  If that doesn't work please let us know.

 

-Josh

0 Kudos
Message 7 of 9
(7,633 Views)

Hi Everyone,

 

I am having a similar problem. I am using Labview to talk over ethernet to Lecroy WR6100 scope is configured to LXI (Resource name string i am using to open visa session is TCPIP0::<ip address>::inst0::INSTR.

 

The Ethernet subvi which opens a visa session, writes query command, reads back and closes the session works most of the times but fails intermittently, the error that I see every now and then is :Error code  -1073807343   source VISA Open, VISA:  (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.

 

I also tried aliasing the Lecroy scope using NI MAX as described by Alan above, but I still see the same problem.

I am running a big script based on the LXI communication, so all my commands go through this sub VI, I want to make sure that I dont see this error even once. I would appreciate any help from the experts. Thanks in advance 🙂

 

Scope: Lecroy WR6100, Firmware 6.4.1.6

NI VISA: 4.6

 

Cheers!

0 Kudos
Message 8 of 9
(5,455 Views)

Hi,

 

I am surprised that the error is intermittent.

I found that in LabVIEW 2009, I always get this error every time I write to the device.

LV 2010 has fixed this. It is working consistently,

I ran the *IDN? and read back the response in a loop and it worked perfectly for over 20,000 iterations.

I hope this helps. (I am using NI-VISA 5.0 and MAX 5.0.0f1)

 

Even with VISA 5.0, I still experienced this error with LV 2009.

 

Regards,

 

Leonard Brown

LeCroy Applications Engineer

0 Kudos
Message 9 of 9
(5,433 Views)