User`s guide

SPECIAL GUIDES
SDK SECTION 9
Page 68
The
SetDriverEvent function can be used in conjunction with event handles. If an event is created using the
WIN32 CreateEvent function and passed to the SDK using the SetDriverEvent function an event handle now
exists which the SDK can use to inform the application that something has occurred.
To ensure that the event has been set by a new image arriving and not something else (e.g. temperature
change) the GetTotalNumberImagesAcquired function can be used. This function will return the total number
of images acquired and transferred to the Andor SDK, and which are now available to be retrieved by the
user.(see section Retrieving Image Data). Comparing the new value to a previously stored one is an effective
way of checking that there are new images available.
Figure 13: Example of SetDriverEvent Pseudo Code