beautypg.com

Bit set an – Measurement Computing Digital488 User Manual

Page 32

background image

Section 3 Command Descriptions

3.2

Bit Set An

The Bit Set command programs a logic one output to a bit described by the

argument 'n'. Setting a bit may represent either a +5 volt or 0 volt output, depending on
whether an Invert command (I16) has been sent. If data is active high (default condition),
then Bit Set outputs +5 volts. If multiple bits are to be set within the same command
string, an Execute command (X) must be included after every Bit Set command.

The bit which is being set must have been configured as an output bit by the

Configure command to be valid. The Strobe output line is not pulsed when the Bit Set
command is sent.

An Bit n (1 thru 40) is set to logic one

Example:

CLEAR 718

reset the Digital488

OUTPUT 718;"C5X"

configure all ports as output

OUTPUT 718;"A22X"

set bit 22 to a logic one

OUTPUT 718;"A23XA24X"

set bits 23 and 24 to a logic one

This manual is related to the following products: