02-10-2011 11:57 AM
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
Thanks,
Qlong
02-10-2011 12:18 PM
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
02-10-2011 12:29 PM
thanks a lot!
06-17-2014 08:37 AM
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
06-17-2014 12:51 PM
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
03-05-2015 08:53 AM
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
03-05-2015 11:09 AM
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