User`s guide
FUNCTIONS
SDK SECTION 11
Page 174
OA_EnableMode
unsigned int WINAPI OA_EnableMode (const char* const ModeName)
Description
This function will set all the parameters associated with the specified mode to be used for all
subsequent acquisitions. The mode specified by the user must be in either the Preset file or
the User defined file.
Parameters
const char* const ModeName: The mode to be used for all subsequent acquisitions.
Return
unsigned int
DRV_SUCCESS
DRV_P1INVALID
DRV_OA_MODE_DOES_NOT_EXIST
DRV_OA_CAMERA_NOT_SUPPORTED
All parameters accepted
Null mode name.
Mode name does not exist.
Camera not supported.
See also
OA_AddMode
OA_GetFloat
unsigned int WINAPI OA_GetFloat (const char* const ModeName, const char* const ModeParam,
float* FloatValue)
Description
This function is used to get the values for floating point type acquisition parameters.
Values are retrieved from memory for the specified mode name.
Parameters
const char* const ModeName: The name of the mode for which an acquisition parameter
will be retrieved.
const char* const ModeParam: The name of the acquisition parameter for which
a value will be retrieved.
float* FloatValue: The value of the acquisition parameter.
Return
unsigned int
DRV_SUCCESS
DRV_P1INVALID
DRV_P2INVALID
DRV_P3INVALID
All parameters accepted
Null mode parameter.
Null mode parameter.
Null float value.
See also
OA_SetFloat