beautypg.com

Devport-(daqiodeviceport), Whichexpport-(daqioexpansionport), Returns – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 261: Function usage

background image

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 )

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

whichExpPort-(DaqIOExpansionPort)

Definition

Description

DioepP1

Note that DioepP1 is for DigiBook only.

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 daqIOReadBit function will return the current state of the selected bit in the bitValue parameter. The
selected bit (specified by the bitNum parameter) corresponds to the input/output (I/O) channel on the port which is
to be read. The bitValue will be true indicating a high state or false indicating a low state. This function
requires that daqIOGet8255Conf or daqSetOption be called prior to invocation to configure the specifed
port as an input port.

Programmer’s Manual

908794

Daq API Command Reference 4.5-31