User`s guide
FUNCTIONS
SDK SECTION 11
Page 240
SetPreAmpGain
unsigned int WINAPI SetPreAmpGain(int index)
Description
This function will set the pre amp gain to be used for subsequent acquisitions. The actual
gain factor that will be applied can be found through a call to the
GetPreAmpGain
function.
The number of Pre Amp Gains available is found by calling the GetNumberPreAmpGains
function.
Parameters
int index: index pre amp gain table
Valid values 0 to GetNumberPreAmpGains-1
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_P1INVALID
Pre amp gain set.
System not initialized.
Acquisition in progress.
Index out of range.
See also
IsPreAmpGainAvailable, GetNumberPreAmpGains, GetPreAmpGain
NOTE: Available on iDus, iXon & Newton.