CHAILink SDK
Version 1.3
|
void CPVALUE_SetRawOnly | ( | CPVALUE *const | pValue, |
CPUINT16 const | wRawValue, | ||
CPBOOLEAN const | fBipolarRawValue | ||
) |
Set a CPVALUE structure to the specified raw value.
[in] | pValue | Pointer to a CPValue structure |
[in] | wRawValue | Encoded in DT_Knob16 or MKZ16 data type, this is the 16 bits view of the data exposed in the specified data type. |
[in] | fBipolarRawValue | TRUE if the raw value is encoded in MKZ16 (0x0001 = -range, 0x8000 = zero, 0xFFFF = +range) |