User`s guide

FUNCTIONS
SDK SECTION 11
Page 238
SetPhotonCounting
unsigned int WINAPI SetPhotonCounting(int state)
Description
This function activates the photon counting option.
Parameters
int state: ON/OFF switch for the photon counting option.
Valid values: 0 to switch photon counting OFF.
1 to switch photon counting ON.
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_ERROR_ACK
photon counting option accepted.
System not initialized.
Acquisition in progress.
Unable to communicate with card.
See also
SetPhotonCountingThreshold
SetPhotonCountingDivisions
unsigned int WINAPI SetPhotonCountingDivisions(unsigned long noOfDivisions, long* divisions)
Description
This function sets the thresholds for the photon counting option.
Parameters
unsigned long noOfDivisions: number of thresholds to be used.
long* divisions: threshold levels.
Return
unsigned int
DRV_SUCCESS
DRV_P1INVALID
DRV_P2INVALID
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_ERROR_ACK
DRV_NOT_SUPPORTED
Thresholds accepted.
Number of thresholds outside valid range
Thresholds outside valid range
System not initialized.
Acquisition in progress.
Unable to communicate with card.
Feature not supported.
See also
SetPhotonCounting, GetNumberPhotonCountingDivisions
SetPhotonCountingThreshold
unsigned int WINAPI SetPhotonCountingThreshold(long min, long max)
Description
This function sets the minimum and maximum threshold for the photon counting option.
Parameters
long min: minimum threshold in counts for photon counting.
long max: maximum threshold in counts for photon counting
Return
unsigned int
DRV_SUCCESS
DRV_P1INVALID
DRV_P2INVALID
DRV_NOT_INITIALIZED
Thresholds accepted.
Minimum threshold outside valid range (1-65535)
Maximum threshold outside valid range
System not initialized.