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-4750 supports the following properties:
|
Property |
Description |
|
gets the board ID of the device. |
|
|
gets the string of firmware version. |
|
|
gets the total count of DI channels. |
|
|
gets the total count of DO channels. |
|
|
gets the total count of DI ports. |
|
|
gets the total count of DO ports. |
|
|
gets or sets DO status on Power-On. |
|
|
gets the functions which can be implemented by the counters: Event Counter. |
|
|
gets or sets count edge supported by the device. |
|
|
gets the counter channel count |
|
|
gets the counter resolution. |
|
|
gets the counter reset value. |
|
|
gets or sets interrupt trigger source of the currently installed USB-4750. |
|
|
gets DI Interrupt supported channel. |
|
|
gets or sets DI channels which issue interrupt on RISING Edge. |
|
|
gets or sets DI channels which issue interrupt on FALLING Edge. |