User`s guide
FUNCTIONS
SDK SECTION 11
Page 182
PrepareAcquisition
unsigned int WINAPI PrepareAcquisition(void)
Description
This function reads the current acquisition setup and allocates and configures any
memory that will be used during the acquisition. The function call is not required as it will
be called automatically by the
StartAcquisition function if it has not already been called
externally.
However for long kinetic series acquisitions the time to allocate and configure any
memory can be quite long which can result in a long delay between calling
StartAcquisition and the acquisition actually commencing. For iDus, there is an additional
delay caused by the camera being set-up with any new acquisition parameters. Calling
PrepareAcquisition first will reduce this delay in the StartAcquisition call.
Parameters
NONE
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_VXDNOTINSTALLED
DRV_ERROR_ACK
DRV_INIERROR
DRV_ACQERROR
DRV_ERROR_PAGELOCK
DRV_INVALID_FILTER
DRV_IOCERROR
DRV_BINNING_ERROR
Acquisition prepared.
System not initialized.
Acquisition in progress.
VxD not loaded.
Unable to communicate with card.
Error reading “DETECTOR.INI”.
Acquisition settings invalid.
Unable to allocate memory.
Filter not available for current acquisition.
Integrate On Chip setup error.
Range not multiple of horizontal binning.
See also
StartAcquisition, FreeInternalMemory,