SIMulation Workbench Documentation SIMulation Workbench Documentation

CANIdProperties Struct Reference
[RTDB Access API]

#include <simrtdb.h>

Public Member Functions

unsigned long long tickLastUpdate __attribute__ ((aligned(8)))
float *pScheduleRate __attribute__ ((aligned(8)))
unsigned int *pTxCount __attribute__ ((aligned(8)))
unsigned int *pTxErrors __attribute__ ((aligned(8)))
unsigned int *pFlags __attribute__ ((aligned(8)))
unsigned char *pSchedFIFO __attribute__ ((aligned(8)))
unsigned char *pTxOnChange __attribute__ ((aligned(8)))
unsigned char *pPaused __attribute__ ((aligned(8)))
unsigned int *pRxCount __attribute__ ((aligned(8)))
int *pLastUpdateUSec __attribute__ ((aligned(8)))
unsigned int rxCount __attribute__ ((aligned(8)))

Data Fields

short boardId
short boardNum
short netNum
unsigned short type
unsigned int canId
int lastUpdateUSec
unsigned short flags
unsigned short defaultFlags
float scheduleRate
float defaultScheduleRate
int runCount
int initCount
unsigned int txCount
unsigned char message [64]
unsigned char msgLen
unsigned char pointCount
int pointHashIndex [MAX_POINTSPERID]
short metaFlags [MAX_POINTSPERID]
float euMaxValue [MAX_POINTSPERID]
float euMinValue [MAX_POINTSPERID]

Detailed Description

Object describing some specific properties of CAN Id's in the shared memory RTDB.


Member Function Documentation

unsigned long long tickLastUpdate CANIdProperties::__attribute__ ( (aligned(8))   ) 

CAN id input points only. Tick when this item was last updated.

float* pScheduleRate CANIdProperties::__attribute__ ( (aligned(8))   ) 
unsigned int* pTxCount CANIdProperties::__attribute__ ( (aligned(8))   ) 
unsigned int* pTxErrors CANIdProperties::__attribute__ ( (aligned(8))   ) 
unsigned int* pFlags CANIdProperties::__attribute__ ( (aligned(8))   ) 
unsigned char* pSchedFIFO CANIdProperties::__attribute__ ( (aligned(8))   ) 
unsigned char* pTxOnChange CANIdProperties::__attribute__ ( (aligned(8))   ) 
unsigned char* pPaused CANIdProperties::__attribute__ ( (aligned(8))   ) 
unsigned int* pRxCount CANIdProperties::__attribute__ ( (aligned(8))   ) 
int* pLastUpdateUSec CANIdProperties::__attribute__ ( (aligned(8))   ) 
unsigned int rxCount CANIdProperties::__attribute__ ( (aligned(8))   ) 

Field Documentation

unsigned short CANIdProperties::type
unsigned int CANIdProperties::canId

Interval in micro seconds between the last 2 updates of the CANID .

unsigned short CANIdProperties::flags

Special flags for FIFO/Schedule CAN Id's.

Special flags for FIFO/Schedule CAN Id's.

Save current schedule rate here so it can be restored later when going back from FIFO to schedule mode. (not supported)

Save current schedule rate here so it can be restored later when going back from FIFO to schedule mode. (not supported)

Internal count to check for value change based on the CAN Id scheduled rate.

Initial count for the previous running count .

unsigned char CANIdProperties::message[64]
unsigned char CANIdProperties::msgLen

Copy of message

int CANIdProperties::pointHashIndex[MAX_POINTSPERID]
short CANIdProperties::metaFlags[MAX_POINTSPERID]
float CANIdProperties::euMaxValue[MAX_POINTSPERID]
float CANIdProperties::euMinValue[MAX_POINTSPERID]

The documentation for this struct was generated from the following file: