LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to execute"clear sweeps" for LeCroy Waverunner 6050A

Hi,

 

I am wondering if anyone know how to execute "clear sweeps" for LeCroy Waverunner 6050A via Labview 8.2. I can't find any related vi.

 

Driver for LeCroy

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=078549B4E9E85646E0440003BA7CCD...

 

Thanks,

 

Qlong

0 Kudos
Message 1 of 7
(5,766 Views)

Hi,

 

There is not a specific vi that will do this.

 

You can write the following string to perform this:

 

VBS 'app.ClearSweeps'

 

Here is a link to the Remote Control Manual for LeCroy scopes: http://www.lecroy.com/files/manuals/WM-RCM-E_Rev_D.pdf

 

This link is for the Automation Manual (Automation commands are used when there is no equivalent remote command): http://www.lecroy.com/files/manuals/Entire_X-Stream_Automation_Manual.pdf

 

This is for the Automation Command Reference Manual: http://www.lecroy.com/files/manuals/Automation_Command_Ref_Manual_WR.pdf

 

The Automation Manual will introduce you to the XStream Browser (an application on the scope) and the Automation Commands.

 

The Reference Manual will cover all of the Automation Commands.

 

When you use an automation command, it has to be sent with the VBS command (covered in the remote control manual on page 71 and in more detail on page 248).

It is also covered in the Automation Manual on page 1-28 (This actually shows the syntax to use).

Regards,

Leonard Brown

LeCroy Applications Engineer

Message 2 of 7
(5,762 Views)

thanks a lot!

0 Kudos
Message 3 of 7
(5,755 Views)

Sorry for bumping up this old thread. That VBS-trick was very nice. Is it possible to get a return value by using the same approach?

 

Regards,

Erik

0 Kudos
Message 4 of 7
(5,233 Views)

Hello Erik,

 

Yes!  The Query form is:  VBS?  'return = <path to object>'  Then read the response.

 

i.e.:

 

Send:  VBS? 'return = 'app.Acquisition.C1.VerScale'

 

Returns the value for the vertical scale (V/div) on Channel 1.

 

This is the equivalent of:   C1:VDIV?

 

The objects, methods, etc. can be found in the XStream Browser (this is an application on the scope).

 

There is a brief tutorial available on the TeledeyneLeCroy website:  http://teledynelecroy.com/doc/tutorial-xstream-browser

 

Cheers!

 

Leonard Brown
Applications Engineer
Teledyne LeCroy
1-800-553-2769

 

Message 5 of 7
(5,220 Views)

Thank you for the tip, Leonard.

 

We are using a WR620Zi in our ATE.

 

When I recall a setup the scope seems to remember the traces from its last acquisition. Is there any command to clear this? The clear sweeps function doesnt seem to work. Ideally I would want the scope to show the "no data availible" on the active channels before a trigger (like it does after a self cal). We have disabled the automatic self cal.

 

-Erik

0 Kudos
Message 6 of 7
(5,042 Views)

Hi Eric,

 

No, the scope will always have the last acquisition there.  When you clear the sweeps, this clears the memory for measurements and averages that have occurred so we are starting at 0 again, but the last acquisition will still be on the display until we take a new one. (The waveform on the display when you clear the sweeps will not be used for anything when the new trigger event and acquisition occurs).

 

If you are trying to find a way to confirm the sweeps were cleared, you can setup a measurement or an average math function and you will see the count "num" on the statistics for a paramter, go back to 0 when you clear them.

 

Regards,

Leonard Brown
Applications Engineer
Teledyne LeCroy
1-800-553-2769

 

0 Kudos
Message 7 of 7
(5,025 Views)