Syntax
CCDCamera_Notify( EventCode As Integer )
Parameters
Integer EventCode - Code indicating which event occurred. See table below.
Remarks
When certain events occur (for instance, the beginning of a guider correction) MaxIm DL will report the event to the currently running client code, using the Notify event. A client must set the EventMask property of the CCDCamera object to indicate that it wishes to be notified of a particular event.
When the notify event is called, it is important to return control to MaxIm DL as quickly as possible. MaxIm DL is unable to continue execution until the Notify event has completed.
Notifications can be used to monitor the status of MaxIm DL, for instance, to determine whether or not an exposure has been completed. Since the Notify method avoids the need to poll MaxIm DL, they can allow your program to execute more efficiently.
Event Code Name |
Event Code |
Mask Bit Value |
ceExposureStarted |
0 |
1 |
ceExposureCompleted |
1 |
2 |
ceExposureAborted |
2 |
4 |
ceSequenceStarted |
3 |
8 |
ceSequenceCompleted |
4 |
16 |
ceSequenceAborted |
5 |
32 |
ceGuiderTrackingStarted |
6 |
64 |
ceGuiderTrackingStopped |
7 |
128 |
ceGuiderExposureCompleted |
8 |
256 |
ceGuiderExposureStarFaded |
9 |
512 |
ceGuideCorrectionStarted |
10 |
1024 |
ceGuideCorrectionCompleted |
11 |
2048 |
ceFilterWheelMoving |
12 |
4096 |
ceFilterWheelStopped |
13 |
8192 |
ceConnected |
14 |
16384 |
ceDisconnected |
15 |
32768 |
ceExposurePaused |
16 |
65536 |
ceExposureResumed |
17 |
131072 |
ceExposureReadoutCompleted |
18 |
262144 |
ceGuiderCalCompleted |
19 |
524288 |