User`s guide

FUNCTIONS
SDK SECTION 11
Page 175
OA_GetInt
unsigned int WINAPI OA_GetInt (const char* const ModeName, const char* const ModeParam, int*
IntValue)
Description
This function is used to get the values for integer 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.
int* IntValue: The buffer to return the value of the acquisition
parameter.
Return
unsigned int
DRV_SUCCESS
DRV_P1INVALID
DRV_P2INVALID
DRV_P3INVALID
All parameters accepted.
Null mode name.
Null mode parameter.
Null integer value.
See also
OA_SetInt
OA_GetModeAcqParams
unsigned int WINAPI OA_GetModeAcqParams (const char* const ModeName, char * const
ListOfParams)
Description
This function will return all acquisition parameters associated with the specified mode.
The mode specified by the user must be in either the Preset file or the User defined file.
The user must allocate enough memory for all of the acquisition parameters.
Parameters
const char* const ModeName: The mode for which all acquisition parameters must be
returned.
char * const ListOfParams: A user allocated array of characters for storage of the
acquisition parameters. Parameters will be delimited by a
‘,’.
Return
unsigned int
DRV_SUCCESS
DRV_P1INVALID
DRV_P2INVALID
DRV_OA_NO_USER_DATA
All parameters accepted.
Null mode name.
Null mode parameter.
No data for selected mode.
See also
OA_GetNumberOfAcqParams