Teledyne LeCroy TA660СА User Manual
Page 148

TA660 User's Manual
Catalyst Enterprises, Inc
142
“sequencer” is the user name defined in the CSeqBuilder statement.
“nStateNo” is the state number to be modified/read : valid parameters are SEQ_S0 through
SEQ_S31
“nFieldIndex” is used to define which field to be modified. See the table below for the valid
parameters:
“nValue” for the items listed below must defined as an “UINT”
Field Name
nFieldIndex
NNewValue options
Set Trigger
SEQ_TRIGGER
TRUE::FALSE
Start Exerciser
SEQ_EXERCISER
TRUE::FALSE
If ( -- Time)
SEQ_IF_TIME
TRUE::FALSE
If Counter
SEQ_IF_COUNT
Count/Time
Time Unit
SEQ_TIME_UNIT
SEQ_NANO_SECOND
SEQ_MICRO_SECOND
SEQ_MILLI_SECOND
Tag Event
SEQ_IF_TAG
TRUE::FALSE
If Then Goto
SEQ_IF_THEN
Define the State to goto
(SEQ_S1 ~ SEQ_S31)
Number of ELSE IF statements
SEQ_ELSE_NO (< 20)
Number of else statements
The commands SEQ_IF_CONDITION, SEQ_STORE and SEQ_ELSE_CONDITION
require slightly different syntax
sequencer.SetField(nStateNo, nFieldIndex, strExpression);
To read the value of each field of the event file the user must use the following command:
sequencer.GetField(nStateNo, nFieldIndex, strValue);
The third parameter for these functions must be defined as a string variable. Set strValue with
the type of “CString”.