MPIUserLimitConditionCustom
Declaration
typedef struct MPIUserLimitConditionCustom { MPIUserLimitLogic logic; void* address; MPIDataType dataType; MPIGeneric value; /* discriminated union tagged by 'dataType' */ union { uint32_t ui32; MPIUInt64 ui64; } mask; } MPIUserLimitConditionCustom;
Required Header: stdmpi.h
Change History: Added in 04.00.
Description
MPIUserLimitConditionCustom represents a custom condition’s data for a user limit’s trigger.
logic | The logic used to compare the controller memory value located at address to the value member. If logic is MPIUserLimitLogicGT, then the condition will evaluate true when the value located at address is greater than the value member. |
---|---|
address | The controller memory address where the value being evalued resides. |
dataType | Indicates the data type of the comparison and of the data pointed to by address. Note: The only valid values are MPIDataTypeSHORT, MPIDataTypeUSHORT, MPIDataTypeLONG, MPIDataTypeULONG, MPIDataTypeDOUBLE, MPIDataTypeINT64, and MPIDataTypeUINT64. |
value | The value to which the controller memory value will be compared. |
mask | A bit mask used for 32-bit integer comparisons. This allows for comparisons of individual bits or a subset of bits. |