After playing with the demo program I realize this is not what I expected the function to work.
The trigger button will work internally so it will not call StartCapture() nor StopCapture() nor any function that user can modify or update. This button, invoking trigger(vid) will acquire images after preview(vid) is already started.
