beautypg.com

Teledyne LeCroy TA660СА User Manual

Page 149

background image

TA660 User's Manual

Catalyst Enterprises, Inc

143

Valid values for strExpression and return values for strValue.

SEQ_ALL
SEQ_ANY (Not used in SEQ_STORE)
SEQ_NONE
SEQ_EV1
SEQ_EV2
SEQ_EV3
SEQ_EV4
SEQ_EV5
SEQ_EV6
SEQ_EV7
SEQ_EV8
SEQ_NOTEV1
SEQ_NOTEV2
SEQ_NOTEV3
SEQ_NOTEV4
SEQ_NOTEV5
SEQ_NOTEV6
SEQ_NOTEV7
SEQ_NOTEV8
SEQ_EXPRESSION
SEQ_PROTOCOL
SEQ_TIMING
SEQ_EXTERNAL

If an expression is required in these fields, enclose the Boolean expression inside quotes.

For example to use the expression EV1 + EV2, the user would input “ev1+ev2”, including
the quotes, in the StrExpression field.

To change or read the ELSE IF statement use the following commands:

sequencer.SetElseStatement(nStateNo, nElseNo, FieldIndex, nNewValue);

sequencer.GetElseStatement(nStateNo, nElseNo, FieldIndex, nValue);

“sequencer” is the user name defined in the CSeqBuilder statement.

“nStateNo” defines the state number to be modified or to be read : valid parameters are
SEQ_S0 thru SEQ_S31

“nElseNo” defines the ELSE IF statement to be modified or to be read

“nFieldIndex” defines which of the 3 fields listed below to be modified.

“nValue” Discard and Then Goto must be defined as “UINT”, ELSE IF must be defined as a
“CString”.

Field Name

nFieldIndex

nNewValue/nValue

ELSE IF condition

SEQ_ELSE_CONDITION

See above

Discard

SEQ_ELSE_DISCARD

TRUE::FALSE

Then Goto

SEQ_ELSE_THEN

SEQ_S0 to SEQ_S31

This manual is related to the following products: