Teledyne LeCroy Conquest User Manual - Users Manual User Manual
Page 225
Appendix A
215
DefineOptions Block
This optional block allows you to assign meaningful interpretations of values in
each field, to help you interpret the raw value by assigning a string that
describes that value. The block consists of one or more DefineOptions
statements.
DefineOptions
fieldId1 = ( "DescriptionString1", Value1 < - Value2> ; <
"DescriptionString2", Value3 < - Value4> ; <
…. >> );
.
.
.
fieldIdN= ( "DescriptionString3", Value5 < - Value6> ; <
"DescriptionString4, Value7 < - Value8> ; <
…. >> );
EndOptions
DefineOptions Statements
Remark:
Assigns description strings to the value or value ranges of the field. You can
assign a unique description for some field values, all values, or ranges of
values. There must be a separate DefineOptions statement for each field for
which to assign a description. That applies to all fields and subfields added in
the Main block.
Input Parameters:
fieldId:
Specifies the field. This identifier is the output of a
AddField statement.
DescriptionString:
This string is a description for the specified value or
range of values.
Value:
Specifies the field value for which to apply the given
description string, or optionally specify the range of
values, by identifying the lower range and upper range
integers;
Example:
/* F3, F4 and BlockStatus are fields */
DefineOptions
F3 = ("First Option", 0x0000-0x1000;
"Second Option", 0x1001-4352);
F4 = ("Option 1 for F4", 0x0-14,
"Option 2 for F4", 0x0f);
BlockStatus = ("Option for BlockStatus", 0-0x1100);
EndOptions