Teledyne LeCroy WavePro Automation Command User Manual

Page 512

Advertising
background image

Automation Command and Query Reference Manual - Processor Reference

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

NewSheet

Bool

Enables/Disables/Queries the creation of a new Excel spreadsheet. If a new sheet is not to be
created, an existing file name must be specified in the SpreadsheetFilename control.

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 creation of a new Excel spreadsheet.
app.Math.F3.Operator1Setup.NewSheet = True

Example

OutputCell

String

Any number of characters

Range

Sets/Queries the cell label for output in the Excel function Fx. This cell marks the start (top) of the
array of data to be taken from Excel into the instrument.

Description

2-13

918501 RevA

Advertising
This manual is related to the following products: