Support
Technical Library

Technical Library

Please select the Programming Example of your preference. NOTE: Programming Example attachments require that you are a valid registered user at the Teledyne LeCroy web site.

Programming Examples

Measure Gate To Cursor

This script positions the measure gates of P1-P6 to the position of the measurement cursors.


Instructions

This script positions the measure gates of P1-P6 to the position of the measurement cursors.

Installing the script:
Place in D:\CustomDSO or D:\Scripts (Actual location doesn't matter)

Running the script
XDEV users: Load the script as a Math script or Parameter Script to have the measure gates directly updated with changing cursor positions.

Alternatively assign the script to a CustomDSO button, and make sure that "Execute scripts asynchronously" is checked.
Everyone: Double-click on the file from Windows Explorer

Stopping the script:
When defined as Math or Parameter Script, redefine the Math function or the Parameter.

Possible user modifications:
If your scope contains more than six measurement parameters you can extend the script to the additional parameters

Scope setup requirements:
None

Compatibility

All Windows-based LeCroy oscilloscopes.

Environment

VBScript example that can be run from Windows or, for scopes with the XDEV option, via a "CustomDSO" button, Math or Parameter Script. NO ADDITIONAL SOFTWARE IS REQUIRED TO RUN THIS EXAMPLE.





NOTE: Programming Example attachments require that you are a valid registered user at the Teledyne LeCroy web site.


 Back to Programming Examples