CHAILink SDK
Version 1.3
|
void CPVALUE_Set | ( | CPVALUE *const | pValue, |
CPUINT16 const | wRawValue, | ||
DataTypes const | dataType, | ||
void const *const | pTypedValue, | ||
CPBOOLEAN const | fBipolarRawValue | ||
) |
Set raw value and typed 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] | dataType | Typed value data type (see DataTypes enumeration DT_xxx) |
[in] | pTypedValue | Pointer to the variable containing value. |
[in] | fBipolarRawValue | TRUE if the raw value is encoded in MKZ16 (0x0001 = -range, 0x8000 = zero, 0xFFFF = +range) |