Teledyne LeCroy WaveRunner Automation Command User Manual
Page 339

Automation Command and Query Reference Manual - Processor Reference
Advanced
Bool
Enables/Disables/Queries the advanced Excel settings. By default, the cell ranges used to store the
input waveform, and to retrieve the calculated waveform, are preset. Advanced mode allows these to
be changed.
Description
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Set function trace F3 to be an Excel function.
app.Math.F3.Operator1 = "ExcelMath"
' Enable the use of the advanced settings.
app.Math.F3.Operator1Setup.Advanced = True
Example
ClearSheet
Action
Clears the contents of the current Excel spreadsheet.
Description
CreateDemoSheet
Action
Creates a 'demo sheet', an excel spreadsheet pre-labelled, and with the output column equation
preset to invert the input data.
Description
FindScale
Action
Set a suitable scale for the output data from Excel on the instrument graticule when scaling has been
set to manual.
Description
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Set function trace F3 to be an Excel function.
app.Math.F3.Operator1 = "ExcelMath"
' Set the scaling from the Excel spreadsheet to automatic.
app.Math.F3.Operator1Setup.Scaling = "Manual"
' Find a suitable scale for the output data
' on the instrument graticule.
app.Math.F3.Operator1Setup.FindScale
Example
2-8
918500 RevA