beautypg.com

Teledyne LeCroy WaveSurfer Automation Command User Manual

Page 77

background image

Automation Command and Query Reference Manual - Control Reference

AxisLabels

Bool

Sets/Queries the visibility of the labels that show the horizontal and vertical limits of each grid.

Description

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Show the axis labels.
app.Display.AxisLabels = True

Example

C1Color

Color

From 0 to 16777215

Range

Sets/Queries the color of trace C1, using a number in the range 0 to FFFFFF in hexadecimal. The
possible colors are made from any combination of the primary colors, which are set in hexadecimal as
Blue = &HFF0000, Green = &HFF00, Red = &HFF. The value may be entered in decimal or in
hexadecimal, though hexadecimal is usually more convenient. Note that if the intensity of a color is to
be reduced or increased by a numerical factor, an AND operation must be used afterwards, to prevent
corruption of other primary colors.

Description

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

Red = &Hff: Green = &H80: Blue = &H00

' Set the color of channel C1 trace to orange
app.Display.C1Color = (Blue * &H10000) + (Green * &H100) + Red

Example

C1PrintColor

Color

From 0 to 16777215

Range

Sets/Queries the color, in the printing palette, of trace C1, using a number in the range 0 to FFFFFF in
hexadecimal. The primary colors are Blue = &HFF0000, Green = &HFF00, Red = &HFF in
hexadecimal.
The value may be entered in decimal or in hexadecimal.

Description

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

Red = &Hff: Green = &H80: Blue = &H00

' Set the color of channel C1 trace to orange for printing.
app.Display.C1PrintColor = (Blue * &H10000) + (Green * &H100) + Red

Example

C2Color

Color

From 0 to 16777215

Range

Please see C1Color.

Description

1-70

918499 RevA