
DAQFlex Software User's Guide DAQFlex Message Reference – Programming messages – DIO
66
For devices that support this message, the default power up value is "IN".
Get the direction of a port.
IN, OUT, or a number between 0 and 2n -1, where n is the number of bits
in the port.
If the digital bits are not individually configurable, the value returned is either "IN" or
"OUT."
If each digital bit is individually configurable, value is a bit mask, in which 1 indicates
that the bit is configured for input, and 0 indicates that the bit is configured for
output.
Set the direction of a bit.
"DIO{port/bit}:DIR=value"
For devices that support this message, the default power up value is "IN".
Get the direction of a bit.
"DIO{port/bit}:DIR=value"
LATCH
LATCH applies to programmable ports. This property lets you set a digital output value while in input
mode. When programmed for output mode the latch value will be at the output.
Set the latch value of a port.
Commenti su questo manuale