Devport–(daqiodeviceport), Whichexpport–(daqioexpansionport), Returns – Measurement Computing Data Acquisition Systems rev.10.4 User Manual
Page 265: Function usage

devPort–(DaqIODevicePort)
Definition
Description
Local Bit I/O
DiodpBitIO
P2 – Addressing by bit
P2 Sequential 8-Bit Addressing
DiodpP2Local8
P2 – Local addressing by byte
DiodpP2LocalIR
P2 – Local Internal register (for configuring P2)
DiodpP2Exp8
P2 – Expansion adressing by byte
P3 Digital Port
DiodpP3LocalDig16
P3 – Local addressing for HS 16-bit Dig I/O
DiodpP3LocalDigIR
P3 – Local Internal register (for configuring P3)
Local 8255, Dbk20, Dbk21 (Daq device and DBK only)
Diodp8255A
P2 – Digital byte wide Port A
Diodp8255B
P2 – Digital byte wide Port B
Diodp8255C
P2 – Digital byte wide Port C
Diodp8255IR
P2 –Internal register (for configuring P2)
Diodp8255CHigh
P2 – Digital 4-bit wide Port C
Diodp8255CLow
P2 – Digital 4-bit wide Port C
DiodpP3LocalCtr16
P3 – 16-bit Counter
Dbk23
DiodpDbk23A
DBK23 – Digital byte wide Port A
DiodpDbk23B
DBK23 – Digital byte wide Port B
DiodpDbk23C
DBK23 – Digital byte wide Port C
DiodpDbk23Unused
Not used
Dbk24
DiodpDbk24A
DBK24 – Digital byte wide Port A
DiodpDbk24B
DBK24 – Digital byte wide Port B
DiodpDbk24C
DBK24 – Digital byte wide Port C
DiodpDbk24Unused
Not used
DiodpDbk25
DBK25
Wbk17
DiodpWbk17_8Bit
WBK17 – 8-bit digital output
whichExpPort–(DaqIOExpansionPort)
Definition
Description
DioepP1
Note that DioepP1 is only for DigiBook and WaveBook applications.
DioepP2
DBK20/21 Port 2
DioepP3
DBK20/21 Port 3
Returns
DaqError
See Daq Error Table
For more details on error messages refer to the Daq Error Table.
Function Usage
The daqIOWrite function will output to the port the bit battern represented by the value parameter. Normally,
if the selected port is a byte-wide port, the port state will occupy the low-order byte of the value parameter.
Digital I/O channels for the port corresponds to each bit within this low-order byte. If the bit is set, it indicates the
channel is in a high state. If the bit is not set, the channel is indicated to be in a low state. This function requires that
daqIOGet8255Conf
or daqSetOption be called prior to invocation to configure the specifed port as an output
port.
Programmer’s Manual
908794
Daq API Command Reference 4.5-35