Bit clear bn – Measurement Computing Digital488 User Manual
Page 33

Section 3 Command Descriptions
3.3
Bit Clear Bn
The Bit Clear command will clear to a logic zero an output bit described by the
argument 'n'. Clearing a bit may represent either a 0 volt or +5 volt output, depending
on whether an Invert command (I16) has been sent. If data is active high (default
condition), then Bit Clear outputs 0 volts. When multiple Bit Clear commands are
used in the same command string, an Execute command (X) must follow each
command.
The bit which is being cleared must have been defined as an output by the
Configure command in order to be valid. The Strobe output line is not pulsed when
the Bit Clear command is sent.
Bn Bit n (1 thru 40) is cleared to a logic 0
Example:
CLEAR 718
reset the Digital488
OUTPUT 718;"C5X"
configure all ports as output
OUTPUT 718;"A7XA8XA9X"
set bits 7, 8, and 9 to +5 volts
OUTPUT 718;"B7X"
clear bit 7 to zero volts
OUTPUT 718;"B8XB9X"
clear bits 8 and 9 to zero volts