User`s guide

FUNCTIONS
SDK SECTION 11
Page 223
SetGateMode
unsigned int WINAPI SetGateMode(int gatemode)
Description
Allows the user to control the photocathode gating mode.
Parameters
int gatemode: the gate mode.
Valid values: 0 Fire ANDed with the Gate input.
1 Gating controlled from Fire pulse only.
2 Gating controlled from SMB Gate input only.
3 Gating ON continuously.
4 Gating OFF continuously.
5 Gate using DDG (iStar only).
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_I2CTIMEOUT
DRV_I2CDEVNOTFOUND
DRV_ERROR_ACK
DRV_P1INVALID
Gating mode accepted.
System not initialized.
Acquisition in progress.
I
2
C command timed out.
I
2
C device not present.
Unable to communicate with card.
Gating mode invalid.
See also
SetMCPGain, SetMCPGating
NOTE: Available on iStar.