#include <cdi.h>
Data Fields | |
| char | devName [CDI_DEVICE_NAME_SIZE] |
| int | cdiIndex |
| int | devNumber |
| void * | pcdiLine |
| int | cdiAddr [CDI_ADDR_SIZE] |
| int | numberDeviceError |
| int * | devParameters |
| BYTE * | dataMask |
| int | dataMaskStartIndex |
| int | dataMaskStopIndex |
| BYTE * | dataPattern |
| int | dataPatternStartIndex |
| int | dataPatternStopIndex |
| int | dataPatternTrigger |
| BYTE * | dataInput |
| int | dataInputSize |
| int | dataOuputSize |
| int | dataOuput2ndSize |
| int | dataFormat |
| int | reqFormat |
| int | allowedAccess |
| CdiRule * | clbrRules |
| CdiRule * | rvrsRules |
| char | lngName [CDI_DEVICE_LONGNAME_SIZE] |
| char | description [CDI_DEVICE_DESC_SIZE] |
| float | maximum |
| float | minimum |
| char | precision [CDI_UNITS_SIZE] |
| char | units [CDI_UNITS_SIZE] |
This is the principal device structure passed to and from CDI and a bus plug
allowed bus access flag
| int CdiDeviceInfoBlk::cdiAddr[CDI_ADDR_SIZE] |
module address specification
start from 0, for pDev[]
| CdiRule* CdiDeviceInfoBlk::clbrRules |
associated calibration rules for device readout
default data type
default data input for WRITE commands
maximum allowed data input size in bytes (if > 0)
default data mask
list start index
list stop index
maximum allowed Seconnd data output size in bytes (if > 0) for RR & WRR mode
maximum allowed data output size in bytes (if > 0)
default data tolerance/pattern
list start index
list stop index
seek data pattern if TRUE
| char CdiDeviceInfoBlk::description[CDI_DEVICE_DESC_SIZE] |
associated device description
| char CdiDeviceInfoBlk::devName[CDI_DEVICE_NAME_SIZE] |
registered (hashed) device name
start from 1, unique number
default bus parameters for this device
| char CdiDeviceInfoBlk::lngName[CDI_DEVICE_LONGNAME_SIZE] |
associated long device name
display maximum
display minimum
total number of bus errors
pointer to CdiLineInfoBlk (before: int cdiLine; index for CdiLineInfoBlk)
| char CdiDeviceInfoBlk::precision[CDI_UNITS_SIZE] |
display format a la width.decimal
requested data type
| CdiRule* CdiDeviceInfoBlk::rvrsRules |
associated reverse calibration rules for device sendto
| char CdiDeviceInfoBlk::units[CDI_UNITS_SIZE] |
display units (or bitfield tag)
1.5.8