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.

 

PCI-1784/U supports the following properties:

 

Property Description
CFG_BoardID gets the board ID of the device.
CFG_BaseAddress gets the base address of the currently installed PCI-1784/U.
CFG_Interrupt gets the IRQ of the currently installed PCI-1784/U.
CFG_BusNumber gets bus number of the currently installed PCI-1784/U.
CFG_SlotNumber gets the slot number of the currently installed PCI-1784/U.
CFG_DiChannelCount gets the max available DI channel count of PCI-1784/U.
CFG_DoChannelCount gets the max available DI channel count of PCI-1784/U.
CFG_DiPortCount gets the DI port count of PCI-1784/U.
CFG_DoPortCount gets the DO port count of PCI-1784/U.
CFG_DiInterruptSupportedChannel gets the DI interrupt supported channel of PCI-1784/U.
CFG_DiInterruptTriggerOnRisingEdge gets or sets DI channels which issue interrupt on RISING Edge of PCI-1784/U.
CFG_CntrChannelCapability gets the specified counters' channel capabilities of PCI-1784/U.
CFG_CntrInternalClockFreq gets the timer counter's clock frequency of PCI-1784/U.
CFG_CntrAvailableAPI gets the available function type of PCI-1784/U.
CFG_CntrChannelCount gets the counter channel count of PCI-1784/U.
CFG_CntrResolution gets the counters' resolution of PCI-1784/U.
CFG_CounterCountValue gets or sets the counters' count of PCI-1784/U.
CFG_CntrResetValue gets or sets the counters' reset value of PCI-1784/U.
CFG_CntrCounterLockControl gets or sets the counters' lock of PCI-1784/U.
CFG_CntrSupportedIndicator gets the supported indicators of PCI-1784/U.
CFG_CntrIndicatorControl gets or sets the counters' indicator of PCI-1784/U.
CFG_CntrClockFrequency gets or sets the current counters' clock frequency of PCI-1784/U.
CFG_CntrInputModeControl gets or sets the counters' input mode of PCI-1784/U.
CFG_CntrCompareData gets or sets the counters' compare data of PCI-1784/U.
CFG_CntrDigitalFilter gets or sets the counters' digital filter enable state of PCI-1784/U.
CFG_InterruptTriggerSource gets or sets interrupt trigger source of PCI1784/U.
CFG_CntrIndexReset gets or sets the counters' index reset enable state of PCI-1784/U.