Device Properties

Device properties are stored in the system and read by the driver when it loads, and then the device is programmed according to these loaded values. The properties are protected during read and write access times, and some of them are pre-defined by the configuration dialog box. Different device's functions are influenced by different properties. These properties are represented by an ID code for an application that calls Advantech API functions. An application can use a default value set by the configuration dialog box, or call Advantech API functions: DRV_DeviceGetProperty and DRV_DeviceSetProperty , to modify individual properties in running time.

USB-4711/A supports the following properties:

Property

Description

CFG_BoardID

gets the board ID of the device.

CFG_FirmWareVersion

gets the device firmware version string of the USB-4711/A.

CFG_AiFifoSize

gets the size of fifo on board.

CFG_AiPacerRate

sets or gets the current pacer rate of the device's AI operation.

CFG_AiChanConfig

sets or gets the single-ended or differential of the channel configuration.

CFG_AoRangeList

gets the AO range spec list of current device.

CFG_AoChanRange

sets or gets the current AO range setting of one channel.

CFG_DiChannelCount

gets the digital input channel count.

CFG_DiPortCount

gets the digital input port count.

CFG_DoChannelCount

gets the digital output channel count.

CFG_DoPortCount

gets the digital output port count.

CFG_CntrChannelCapability

gets the counter capability.

CFG_CntrSupportedCountEdge

gets the count edge.

CFG_CntrChannelCount

gets the counter channel count.

CFG_CntrResolution

gets the counter resolution.

CFG_CntrResetValue

set or gets the counter reset value.

CFG_CntrInternalClockFreq

gets the internal clock frequency device used for pulse out.