Waiting Signaling Information
The main application thread can be forced to wait for a specific MultiCam signal. The signal should be enabled with the SignalEnable parameter.
Only one signal can be waited for in a given thread at a given time.
The dedicated MultiCam function to control the waiting mechanism is called McWaitSignal.
If the expected signal does not occur within the specified timeout, the function returns MC_TIMEOUT.
When waiting for the Surface Processing signal, it is the application responsibility to reset the SurfaceState parameter of the PROCESSING surface to FREE when done. Failure to do so will prevent the surface from being used by subsequent acquisitions.
If the waiting signaling mechanism is used, the callback signaling mechanism cannot be used. However, the advanced signaling mechanism can be used as long as it is not used for the particular event involved in the waiting function.