EasyManua.ls Logo

Aeroflex 3412 - Page 223

Aeroflex 3412
467 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
REMOTE OPERATION CONVENTIONS
4-7
<Boolean>
<Boolean> is used as shorthand for the form ON | OFF | <NRf>. Boolean parameters have a value
of 0 or 1 and are unitless.
On input, an <NRf> is rounded to an integer and a nonzero result is interpreted as 1.
<CPD> elements ON and OFF are accepted as inputs, with ON corresponding to 1 and OFF
corresponding to 0. Queries return 1 or 0, never ON or OFF.
Examples:
ON is interpreted as 1
0.4 is interpreted as 0
2.8 is interpreted as 1
<ARBITRARY BLOCK PROGRAM DATA>
Definite format
Arbitrary block program data consists of 8-bit data bytes (DAB), preceded by ASCII header bytes
that define the number of data bytes following, in the form
#<non-zero digit><digit><DAB><DAB><DAB><DAB>...
where
ASCII character # introduces the block program data
<non-zero digit> is a single ASCII-encoded byte (in the range 31–39) that defines the number
of <digit> elements
<digit> is one or more ASCII-encoded bytes (in the range 30–39) that define the number of
data bytes following.
Examples:
#14<DAB><DAB><DAB><DAB> represents four 8-bit bytes of data.
#3128<DAB>..(128 times)..<DAB> represents 128 8-bit bytes of data.
During the transmission of data bytes, the instrument is instructed to ignore control characters, as it
is possible that some combinations of data bytes might otherwise appear to be random control
characters.
Indefinite format
The instrument also accepts the indefinite format, with an undefined number of 8-bit bytes of data
#0<DAB><DAB><DAB>...<DAB>NL^END
which forces an immediate termination of the program message.

Table of Contents

Related product manuals