
X50
Installation and Operation Manual
63
Enabling the Parameter Control Script
To enable a parameter control script, set the
Activate Script
parameter to
Enable
. Enter
your script into the
Script (Part I)
parameter (maximum
251
characters). If additional script
space is needed, use the
Script (Part II to IV)
parameters.
Script Status [RO]
reports the parsing and active status of the script. If a syntax error is
detected when a new script is entered, this parameter will report
Error: x
message
(
x
is an
index number starting from the beginning of the script to indicate around which character
the script parser first encounters a syntax error).
Writing the Parameter Control Script
Parameter control scripts are made up of one or multiple statements. Each statement
consists of one condition and one or multiple assignments. During device operation, if the
condition in a statement becomes true, the assignment in the statement will take effect.
<script> ::= <statement> { <statement> }
<statement> ::=
IF
<condition>
THEN
<assignment> { <assignment> }
<condition> ::= <comparison> { <logic op> <comparison> }
<comparison> ::=
PARAM[x]
<comparison op> y
Where
x
is the CCSP ID of a device parameter, y is a value for that parameter. The
device parameter could be one of three types: integer, enum, string. Depending on the
parameter type,
y
could take different format:
Integer:
y
is integer value of the parameter
Enum:
y
is the enum value index inside the enum
String:
y
is in a '
zzzz
' string format, where
z
is a character. Special character '*' can
be used as wild card. '
AA
*' and '
AABB
' will be considered as equal
<comparison op> ::
= == | > | < | >= | <= | !=
For string type of parameter, only
==
and
!=
operators are supported.
<assignment> ::
= PARAM[x] = y
Where x is the CCSP ID of a device parameter, y is a value for that parameter.
<logic op> ::
= && | ||
Comparisons can be
AND
ed together using
&&
, and then can be
OR
ed together using
|
|.
The
AND
operation always has precedence over the
OR
operation when
AND
and
OR
both exist in a condition.
The following script condition
PARAM[400]==5 || PARAM[400]==3 || PARAM[400] >= 8 && PARAM[400] <= 12
should be interpreted as
PARAM[400]==5 || PARAM[400]==3 || (PARAM[400] >= 8 && PARAM[400] <= 12)
Содержание Selenio X50
Страница 1: ...Installation and Operation Manual Selenio X50TM Broadcast Quality Up Cross Downconverter Version 4 0...
Страница 7: ...Version 4 0 August 2015 X50 Broadcast Quality Up Cross Downconverter Installation and Operation Manual...
Страница 8: ......
Страница 14: ...Preface Safety xiv...
Страница 18: ...Chapter 1 Introduction 4 Front and Back Views Figure 1 1 Front and Back Views...
Страница 112: ...Chapter 5 Specifications 98...
Страница 136: ...122...