L O C A L Command Set; Commands - Racal Instruments 7064 Instruction Manual

Table of Contents

Advertisement

3.6 L O C A L COMMAND SET

3.6.1 Commands

The syntactic style of the 7064 command set is reminiscent of the C-language function
calls. A l l built-in and user-supplied commands are invoked by name, as i f calling C
functions. This section lists the command set required for control of the breadboard. For
an in-depth discussion on the complete command set syntax, see Appendix B.
3.6.1.1 P o r t Commands
There are twelve 8-bit ports on a standard breadboard. T h e port commands are for
reading and writing to these ports.
3.6.1.2 Output Format Command
base(base_value);
Used to set the output number format for return values:
Valid values of base_value are:
8 O c t a l
10 D e c i m a l
16 H e x
The default value is decimal. When a base_value other than decimal is used, the numbers
are formatted as described above.
Example:
1. T h e number 255 could be returned in any of these formats:
255
#HFF
#Q377
#B11111111 B i n a r y
The c o m m a n d "base(1);" s e t s the base t o b i n a r y.
1 B i n a r y
D e c i m a l
H
e
x
O c t a l
3-5

Advertisement

Table of Contents
loading

Related Products for Racal Instruments 7064

Table of Contents