Racal Instruments 7064 Instruction Manual page 167

Table of Contents

Advertisement

2.3 Metasymbols
. > " i s a", defines the left-hand side of a rule in terms of the right-hand side.
1) G r o u p i n g
I A l t e r n a t i o n
* C l o s u r e , zero or more times
+ C l o s u r e , one or more times
2.4 Tokens
A token is a textual unit. There are four classes of tokens: identifiers, commands, constants,
and other separators. B l a n k s , horizontal and vertical tabs, new lines, formfeeds, and
comments as described below (collectively, "white space") are ignored except as they serve
to separate tokens. Some whitespace is required to separate otherwise adjacent identifiers,
keywords, and constants.
2.5 Comments
The 7064 command parser accepts C-style comments, / * */. Comments may span across
multiple lines; they do not nest.
3.0 Sample Command Strings
These are some examples of command strings that can be sent to the 7064 via the VXlbus
word serial protocol. Note that the 7064 software recognizes and ignores C-style comments.
rstbit (00000, 0001); / * Placement of whitespace is not critical * /
setbit( 0002,001) ;
crstbit(#b00001010, 1, 2); / * Illustrates different numerical formats */
csetbit(#Q7, OxOc, 1) ;
outbit(8,1,0);
/
*
OUTBIT(8,1,0);
/ *
All identifiers are case-insensitive, so these two */
commands are identical */
B-3

Advertisement

Table of Contents
loading

Related Products for Racal Instruments 7064

Table of Contents