SetVideoSync (DVR version only)
|
Mode [in]
|
The synchronization mode of the currently open video source. Select one of the following values:
|
0 - internal (freerun) synchronization. Video will be played by ActiveGige at the currently set frame rate.
|
1 - external (triggered) synchronization. Video will advanced to the next frame when TriggerVideo is called.
|
|
S_OK
|
Success
|
E_FAIL
|
Failure.
|
Private Sub Form_Load()
|
ActiveGige1.OpenVideo "C:\\video1.avi"
|
ActiveGige2.OpenVideo "C:\\video2.avi"
|
ActiveGige1.SetVideoSync 1
|
ActiveGige2.SetVideoSync 1
|
ActiveGige1.PlayVideo
|
ActiveGige2.PlayVideo
|
fps=ActiveGige1.GetVideoFPS
|
Timer1.Interval=1000/fps
|
End Sub
|
|
Private Sub Timer1_Timer()
|
ActiveGige1.TriggerVideo
|
ActiveGige2.TriggerVideo
|
End Sub
|
|