CDI Device Information Block structure. More...
#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 |
int | interval |
int | iReserved |
char * | extName |
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] |
CDI Device Information Block structure.
This is the principal device structure passed to and from CDI and a bus plug
int CdiDeviceInfoBlk::allowedAccess |
allowed bus access flag
int CdiDeviceInfoBlk::cdiAddr[CDI_ADDR_SIZE] |
module address specification
int CdiDeviceInfoBlk::cdiIndex |
start from 0, for pDev[]
CdiRule* CdiDeviceInfoBlk::clbrRules |
associated calibration rules for device readout
int CdiDeviceInfoBlk::dataFormat |
default data type
BYTE* CdiDeviceInfoBlk::dataInput |
default data input for WRITE commands
int CdiDeviceInfoBlk::dataInputSize |
maximum allowed data input size in bytes (if > 0)
BYTE* CdiDeviceInfoBlk::dataMask |
default data mask
int CdiDeviceInfoBlk::dataMaskStartIndex |
list start index
int CdiDeviceInfoBlk::dataMaskStopIndex |
list stop index
int CdiDeviceInfoBlk::dataOuput2ndSize |
maximum allowed Second data output size in bytes (if > 0) for RR & WRR mode
int CdiDeviceInfoBlk::dataOuputSize |
maximum allowed data output size in bytes (if > 0)
BYTE* CdiDeviceInfoBlk::dataPattern |
default data tolerance/pattern
int CdiDeviceInfoBlk::dataPatternStartIndex |
list start index
int CdiDeviceInfoBlk::dataPatternStopIndex |
list stop index
int CdiDeviceInfoBlk::dataPatternTrigger |
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
int CdiDeviceInfoBlk::devNumber |
start from 1, unique number
int* CdiDeviceInfoBlk::devParameters |
default bus parameters for this device
char* CdiDeviceInfoBlk::extName |
pointer to exstensible (really long?) name
int CdiDeviceInfoBlk::interval |
default hardware interval
int CdiDeviceInfoBlk::iReserved |
reserved for future use
char CdiDeviceInfoBlk::lngName[CDI_DEVICE_LONGNAME_SIZE] |
associated long device name
float CdiDeviceInfoBlk::maximum |
display maximum
float CdiDeviceInfoBlk::minimum |
display minimum
int CdiDeviceInfoBlk::numberDeviceError |
total number of bus errors
void* CdiDeviceInfoBlk::pcdiLine |
pointer to CdiLineInfoBlk (before: int cdiLine; index for CdiLineInfoBlk)
char CdiDeviceInfoBlk::precision[CDI_UNITS_SIZE] |
display format a la width.decimal
int CdiDeviceInfoBlk::reqFormat |
requested data type
CdiRule* CdiDeviceInfoBlk::rvrsRules |
associated reverse calibration rules for device sendto
char CdiDeviceInfoBlk::units[CDI_UNITS_SIZE] |
display units (or bitfield tag)