CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
void CPVALUE_SetRawOnly ( CPVALUE *const  pValue,
CPUINT16 const  wRawValue,
CPBOOLEAN const  fBipolarRawValue 
)

Set a CPVALUE structure to the specified raw value.

Parameters
[in]pValuePointer to a CPValue structure
[in]wRawValueEncoded in DT_Knob16 or MKZ16 data type, this is the 16 bits view of the data exposed in the specified data type.
[in]fBipolarRawValueTRUE if the raw value is encoded in MKZ16 (0x0001 = -range, 0x8000 = zero, 0xFFFF = +range)