User`s guide

FUNCTIONS
SDK SECTION 11
Page 179
OA_SetFloat
unsigned int WINAPI OA_SetFloat (const char* const ModeName, const char * ModeParam, const
float FloatValue)
Description
This function is used to set values for floating point type acquisition parameters where
the new values are stored in memory. To commit changes to file call WriteToFile().
Parameters
const char* const ModeName: The name of the mode for which an acquisition parameter
will be edited.
const char * const ModeParam: The name of the acquisition parameter to be edited.
const float FloatValue: The value to assign to the acquisition parameter.
Return
unsigned int
DRV_SUCCESS
DRV_P1INVALID
DRV_P2INVALID
DRV_OA_INVALID_STRING_LENGTH
DRV_OA_MODE_DOES_NOT_EXIST
All parameters accepted.
Null mode name.
Null mode parameter.
One or more of the string parameters has
an invalid length, i.e. > 255.
The Mode does not exist.
See also
OA_GetFloat, OA_EnableMode, OA_WriteToFile
OA_SetInt
unsigned int WINAPI OA_SetInt (const char* const ModeName, const char* ModeParam, const int
IntValue)
Description
This function is used to set values for integer type acquisition parameters where the
new values are stored in memory. To commit changes to file call WriteToFile().
Parameters
const char* const ModeName: The name of the mode for which an acquisition parameter
will be edited.
const char* const ModeParam: The name of the acquisition parameter to be edited.
const int IntValue: The value to assign to the acquisition parameter.
Return
unsigned int
DRV_SUCCESS
DRV_P1INVALID
DRV_P2INVALID
DRV_OA_INVALID_STRING_LENGTH
DRV_OA_MODE_DOES_NOT_EXIST
All parameters accepted.
Null mode name.
Null mode parameter.
One or more of the string parameters has
an invalid length, i.e. > 255.
The Mode does not exist.
See also
OA_GetInt, OA_EnableMode, OA_WriteToFile