Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA error when trying to commuicate over VICP with Lecroy waverunner 62XI

Hi All,

 

I'm using Labview 8.6.1(f1) and trying to control a Lecroy WaveRunner 62Xi over ethernet using the VICP passport.

 

Everything works fine to start with - I can initialise the scope, get data from and send data to the scope with no problems.

 

However, if I leave my system switched on (i.e. the scope and my PC) for a while (several hours) with my software NOT running, and then try to start up my software again, I get VISA error -1073807257 "VISA:  (Hex 0xBFFF0067) The given session or object reference does not support this operation."

 

I get this error out even if I create a blank VI with nothing in it except the open visa session VI with the appropriate vicp address wired to the input. In this instance, labview appears to freeze temporarily (all LV windows show as blank white for about 3-4 seconds) and then VI exits and I get the error message.

 

If I restart the scope (not the ideal solution!) the problem seems to go away... until next time...

 

Anyone know how to fix this?

 

Any help or advice gratefully accepted!

Message Edited by psmorris on 11-06-2009 04:55 AM
0 Kudos
Message 1 of 8
(5,807 Views)

The problem can be related to the scope firmware: download latest version from Lecroy website and try again.

I had the same problem on a WR64Xi, and it worked for me. Good luck

0 Kudos
Message 2 of 8
(5,796 Views)

Hi psmorris,

 

Alan from LeCroy Tech Support here...  I like xdaf's suggestion...  If you haven't upgraded your firmware yet, please first make a note of what firmware version you are currently running by going to Help > About on the scope.  I'm curious to learn what version is showing this problem.

 

Thanks,

Alan

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

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

Hi All,

 

thanks for the tip.

 

The firmware version where I have the issue is - 5.9.0.2 (build 126839)

 

I'll let you know if I still have trouble!

 

Cheers

0 Kudos
Message 4 of 8
(5,780 Views)

I'm having a similar problem with the LeCroy WaveRunner 6050, except rebooting the scope doesn't fix it. Actually nothing seems to fix it.

 

I am using the following versions...

 

NI-VISA: 4.6.2

LeCroy Labview Driver: 3.1

LeCroy Passport 1.0.8

firmware version: 6.1.0.7 (build 135672)

 

I get the same error the poster gets at VISA Open. The passport log file has the following error message...

 

viOpen: VICP::192.168.0.100
viParseRsrc: VICP::192.168.0.100 (maxParams: 10)
    namePiece: VICP
    namePiece: 192.168.0.100
    parms: 192.168.0.100
    zero timeout passed to viOpen, defaulting to 10s (cannot find device in zero time!)

 

I'm not sure how this is supposed to make sense. There is no input for timeout in the VISA Open VI. BTW, I can ping the scope just fine. I have the VISA resource name set to VICP::192.168.0.100.

 

Thanks,

Kevin

0 Kudos
Message 5 of 8
(5,351 Views)

Hello,

I have the same problem with firmware 6.5.0.5 and WR 64MXi.

Is there any solution?

 

Additional if I send the commands CLSW;*OPC?; sometimes the WR hangs for approx. 40seconds.

 

Br.

Axel

0 Kudos
Message 6 of 8
(4,827 Views)

Hi Kevin,

 

Not sure how I missed your post. I guess I need to refine my search terms.

 

There is a timeout setting on the VISA open primitive in LabVIEW.

 

It is located on the top terminals.

 

VISA_Open.jpg  I am not sure why the default value is zero though.

 

I do not believe it was zero in the past since I have never run into this error before.

 

There is also a property node available from the VISA advanced function pallete just beneath the VISA Open.

 

Again, sorry I missed your post before.  Luckily, I got an email for the next post.

 

If you would like, you may give me a call and I will be happy to help out.

 

I can be reached at 1-800-5Lecroy (option 3 for technical support).

 

Cheers,

 

Leonard Brown

Applications Engineer

LeCroy 

0 Kudos
Message 7 of 8
(4,817 Views)

Hello Axel,

 

For the timeout being set to zero issue, please see my previous post.

 

As for the CLSW and the *OPC?

 

There are a few items that may be at work here depending on the scope settings.

 

When the scope hangs, do you see any messages displayed in the bottom left or right corners?

 

Error messages for waveform data, measurements etc. will appear at the bottom left corner while status messages will appear in the bottom right.

 

i.e. it may say "Waiting for Trigger..." or "Processing..." in the bottom right.

 

You may also give me a call if you would like and I am happy to assist.

 

My contact information is also in my previous post.

 

Regards,

 

Leonard Brown

Applications Engineer

LeCroy

0 Kudos
Message 8 of 8
(4,816 Views)