User`s guide
FUNCTIONS
SDK SECTION 11
Page 232
SetMultiTrack
unsigned int WINAPI SetMultiTrack(int number, int height, int offset, int* bottom, int *gap)
Description
This function will set the multi-Track parameters. The tracks are automatically spread
evenly over the detector. Validation of the parameters is carried out in the following
order:
• Number of tracks,
• Track height
• Offset.
The first pixels row of the first track is returned via ‘bottom’.
The number of rows between each track is returned via ‘gap’.
Parameters
int number: number tracks
Valid values 1 to number of vertical pixels
int height: height of each track
Valid values >0 (maximum depends on number of tracks)
int offset: vertical displacement of tracks
Valid values depend on number of tracks and track height
int* bottom: first pixels row of the first track
int* gap: number of rows between each track (could be 0)
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_P1INVALID
DRV_P2INVALID
DRV_P3INVALID
Parameters set.
System not initialized.
Acquisition in progress.
Number of tracks invalid.
Track height invalid.
Offset invalid.
See also
SetReadMode, StartAcquisition SetRandomTracks