User`s guide
FUNCTIONS
SDK SECTION 11
Page 226
SetImage
unsigned int WINAPI SetImage(int hbin, int vbin, int hstart, int hend, int vstart, int vend)
Description
This function will set the horizontal and vertical binning to be used when taking a full
resolution image.
Parameters
int hbin: number of pixels to bin horizontally.
int vbin: number of pixels to bin vertically.
int hstart: Start column (inclusive).
int hend: End column (inclusive).
int vstart: Start row (inclusive).
int vend: End row (inclusive).
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_P1INVALID
DRV_P2INVALID
DRV_P3INVALID
DRV_P4INVALID
DRV_P5INVALID
DRV_P6INVALID
All parameters accepted.
System not initialized.
Acquisition in progress.
Binning parameters invalid.
Binning parameters invalid.
Sub-area co-ordinate is invalid.
Sub-area co-ordinate is invalid.
Sub-area co-ordinate is invalid.
Sub-area co-ordinate is invalid.
See also
SetReadMode
NOTE: For iDus, it is recommended that you set horizontal binning to 1