User`s guide

FUNCTIONS
SDK SECTION 11
Page 214
SetEMAdvanced
unsigned int WINAPI SetEMAdvanced(int state)
Description
This function turns on and off access to higher EM gain levels within the SDK. Typically,
optimal signal to noise ratio and dynamic range is achieved between x1 to x300 EM Gain.
Higher gains of > x300 are recommended for single photon counting only. Before using
higher levels, you should ensure that light levels do not exceed the regime of tens of
photons per pixel, otherwise accelerated ageing of the sensor can occur.
Parameters
int state: Enables/Disables access to higher EM gain levels
1 – Enable access
0 – Disable access
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_NOT_AVAILABLE
DRV_ACQUIRING.
DRV_P1INVALID
Parameters set.
System not initialized.
Advanced EM gain not available for this camera.
Acquisition in progress.
State parameter was not zero or one.
See also
GetCapabilities, GetEMCCDGain, SetEMCCDGain, SetEMGainMode
SetEMCCDGain
unsigned int WINAPI SetEMCCDGain(int gain)
Description
Allows the user to change the gain value. The valid range for the gain depends on what
gain mode the camera is operating in. See SetEMGainMode to set the mode and
GetEMGainRange to get the valid range to work with. To access higher gain values
(>x300) see SetEMAdvanced.
Parameters
int gain: amount of gain applied.
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_I2CTIMEOUT
DRV_I2CDEVNOTFOUND
DRV_ERROR_ACK
DRV_P1INVALID
Value for gain accepted.
System not initialized.
Acquisition in progress.
I2C command timed out.
I2C device not present.
Unable to communicate with card.
Gain value invalid.
See also
GetEMCCDGain SetEMGainMode GetEMGainRange SetEMAdvanced
NOTE: Only available on EMCCD sensor systems.