beautypg.com

Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 81

background image

C

H A P T E R

S

I X

:

L

INKING

W

ITH

A

UTOMATION

WM-RCM-E Rev D

ISSUED: February 2005

75

Typical variable types are as follows:

Single Single precision floating point number

Double Double precision floating point number

Integer Integer

Long Long integer

Enum Member of list

String String

In the case of enum variables, you may specify the value using the actual values (for example, “INT” or

“EXT”) for Reference source in the example already given. You may also give the position in the list for the
value you want to use (for example, 0 or 1 in the given example). All lists begin with the zero

th

element. In the

next figure we see that the variable for SampleMode is an enum type, and that the scope is currently running in
real time mode.

The following inputs are allowed.

Real Time Mode

app.Acquisition.Horizontal.SampleMode = 0

Real Time Mode

app.Acquisition.Horizontal.SampleMode = “RealTime”


Sequence Mode

app.Acquisition.Horizontal.SampleMode = 1

Sequence Mode

app.Acquisition.Horizontal.SampleMode = “Sequence”


Were you to select Edit, Copy at this point the line app.Acquisition.Horizontal.SampleMode

would be copied into the clipboard for use in your own application program.