RTFWECAT_INSTANCE_CONFIGURATION
RTFWECAT_INSTANCE_CONFIGURATION holds the E-CAT MainDevice instance configuration information.
Syntax
typedef struct RTFWECAT_INSTANCE_CONFIGURATION_ {
unsigned int Instance;
unsigned int IdealProcessor;
wchar_t DisplayName[RTECAT_DISPLAYNAME_MAX_LENGTH];
char PrimaryNicName[RTECAT_NIC_MAX_LENGTH];
char SecondaryNicName[RTECAT_NIC_MAX_LENGTH];
} RTFWECAT_INSTANCE_CONFIGURATION;
Members
Instance
The instance number for this configuration, ranging from 0 to 62.
IdealProcessor
The processor this instance runs on. Use #define RTFW_DEFAULT_RTSS_PROCESSOR UINT_MAX in RtfwApi.h to use the parent thread’s ideal processor or the system default value from wRTOS Settings.
DisplayName
The name displayed in tools to represent this instance. The maximum length is 64 characters, as defined by RTECAT_DISPLAYNAME_MAX_LENGTH in the header file.
PrimaryNicName
The name of the primary NIC used by the instance. The maximum length is 32 characters, as defined by RTECAT_NIC_MAX_LENGTH in the header file.
SecondaryNicName
The name of the secondary NIC used by the instance for E-CAT Cable Redundancy. The maximum length is 32 characters, as defined by RTECAT_NIC_MAX_LENGTH in the header file.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtfwecatApi.h |
RtfwecatApi.lib |
See Also: