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

Save Segment Trigger Times

This script saves the trigger times of each segment in a Sequence Mode acquisition to a text file.


Instructions

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

Running the script
XDEV users: 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:
The script exits automatically since it contains no looping structures.
Possible user modifications: The output filename can be changed by modifying the filename in the line beginning with "Set MyFile"

Possible User Modifications
Uncomment code to include the time between trigger in the output file

Scope setup requirements:
The scope should be in sequence mode
The script uses math Trace F4. Users should either keep F4 free, or modify the script to use a different unused F trace.

Compatibility

All Windows-based LeCroy oscilloscopes except for the WaveSurfer and WaveExpert series, which do not support Sequence mode

Environment

VBScript example that can be run from Windows or, for scopes with the XDEV option, via a "CustomDSO" button. 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