190
PICam™ 5.x Programmer’s Manual
Issue 11
6.4.5
Picam_WaitForAcquisitionUpdate()
Description
Picam_WaitForAcquisitionUpdate()
is used in combination with
and indicates when:
•
New data are available; or
•
The hardware’s status has changed.
Usage
Picam_WaitForAcquisitionUpdate()
must be continuously called until
.
FALSE
. This is true regardless of any acquisition
errors that may be returned or if
has been called.
Any errors returned during data acquisition are stored in
.
and acquisition will be halted.
However, if new data is not available within the time specified by
•
The
PicamError_TimeOutOccurred
error is returned;
•
Data acquisition will continue; and
•
The contents of both the data buffer
structure are invalid.
Syntax
Picam_WaitForAcquisitionUpdate()
is:
PICAM_API Picam_WaitForAcquisitionUpdate(
PicamHandle camera,
piint readout_time_out,
PicamAvailableData* available,
PicamAcquisitionStatus* status);
Input Parameters
Input parameters for
Picam_WaitForAcquisitionUpdate()
Output Parameters
Output parameters for
Picam_WaitForAcquisitionUpdate()
are:
continued on next page
camera:
Handle for the hardware from which data is being acquired.
readout_time_out:
The time, in mS, to wait between each successive readout.
To configure this function to wait forever until a change occurs, set
this parameter to -1.
available:
The output buffer used to store newly acquired data from the
specified hardware.
Data stored in this buffer is valid until the next
Picam_WaitForAcquisitionUpdate()
call.
status:
Pointer to the
acquisition status information is stored.
Summary of Contents for Princeton Instruments PICam 5.x
Page 1: ...www princetoninstruments com PICam 5 x Programmer s Manual 4411 0161 Issue 11 June 28 2021...
Page 4: ...4 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 14: ...14 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 180: ...180 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 192: ...192 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 290: ...290 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 302: ...302 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 326: ...324 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 351: ...This page is intentionally blank...
Page 354: ......