User`s guide
FUNCTIONS
SDK SECTION 11
Page 177
OA_GetPreSetModeNames
unsigned int WINAPI OA_GetPreSetModeNames (char * ListOfModes)
Description
This function will return the available mode names from the Preset file. The mode and
the Preset file must exist. The user must allocate enough memory for all of the
acquisition parameters.
Parameters
char * ListOfModes: A user allocated array of characters for storage of the mode
names. Mode names will be delimited by a ‘,’.
Return
unsigned int
DRV_SUCCESS
DRV_P1INVALID
DRV_OA_NULL_ERROR
All parameters accepted.
Null list of modes.
Invalid pointer.
See also
OA_GetNumberOfPreSetModes
OA_GetString
unsigned int WINAPI OA_GetString (const char* const ModeName, const char* const ModeParam,
char* StringValue, const unsigned int StringLen)
Description
This function is used to get the values for string 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.
char* StringValue: The buffer to return the value of the acquisition
parameter.
const unsigned int StringLen: The length of the buffer.
Return
unsigned int
DRV_SUCCESS
DRV_P1INVALID
DRV_P2INVALID
DRV_P3INVALID
DRV_P4INVALID
All parameters accepted.
Null mode name.
Null mode parameter.
Null string value.
Invalid string length
See also
OA_SetString