User`s guide

FUNCTIONS
SDK SECTION 11
Page 245
SetShutter
unsigned int WINAPI SetShutter(int typ, int mode, int closingtime, int openingtime)
Description
This function controls the behaviour of the shutter.
The typ parameter allows the user to control the TTL signal output to an external shutter.
The mode parameter configures whether the shutter opens & closes automatically
(controlled by the camera) or is permanently open or permanently closed.
The opening and closing time specify the time required to open and close the shutter
(this information is required for calculating acquisition timings – see
SHUTTER
TRANSFER TIME).
Parameters
int typ:
0 Output TTL low signal to open shutter
1 Output TTL high signal to open shutter
int mode:
0 Auto
1 Open
2 Close
int closingtime: Time shutter takes to close (milliseconds)
int openingtime: Time shutter takes to open (milliseconds)
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_ERROR_ACK
DRV_P1INVALID
DRV_P2INVALID
DRV_P3INVALID
DRV_P4INVALID
Shutter set.
System not initialized.
Acquisition in progress.
Unable to communicate with card.
Invalid TTL type.
Invalid mode.
Invalid time to open.
Invalid time to close.
NOTE
1. The opening and closing time can be different.
2. For cameras capable of controlling the internal and external shutter independently
(capability AC_FEATURES_SHUTTEREX) you MUST use SetShutterEx.
3. Cameras with an internal shutter (use function IsInternalMechanicalShutter to test) but no
independent shutter control (capability AC_FEATURES_SHUTTEREX) will always output a
“HIGH to open” TTL signal through the external shutter port.