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-1758U supports the following properties:
|
Property |
Description |
|
gets the board ID of the device. |
|
|
gets the base address of the currently installed PCI-1758U |
|
|
gets the IRQ of the currently installed PCI-1758U. |
|
|
gets bus number of the currently installed PCI-1758U. |
|
|
gets the slot number of the currently installed PCI-1758U. |
|
|
gets the digital input channel count. |
|
|
gets the digital input port counte. |
|
|
gets the digital output channel count. |
|
|
gets the digital output port count. |
|
|
gets or sets DI channel which issue interrupt on rising edge |
|
|
gets or sets DI channel which issue interrupt on falling edge |
|
|
gets or sets preset DO value |
|
|
gets or sets watchdog timeout DO value |
|
|
gets or sets watchdog timeout counter |
|
|
gets or sets all of the DI filter enabled status |
|
|
gets or sets all of the DI interval counter value |