20.10 Working with several camera simultaneously 279
20.10.1.3.3 Set trigger
"If you want to use Master - Slave":
// Set Trigger of Master camera
GenICam::AcquisitionControl ac(pDev);
ac.triggerSelector.writeS( "FrameStart" );
ac.triggerMode.writeS( "On" );
ac.triggerSource.writeS( "Timer1Start" );
// or ac.triggerSource.writeS( "Timer1End" );
// Set Trigger of Slave camera
GenICam::AcquisitionControl ac(pDev);
ac.triggerSelector.writeS( "FrameStart" );
ac.triggerMode.writeS( "On" );
ac.triggerSource.writeS( "Line4" );
ac.triggerActivation.writeS( "RisingEdge" );
See also
Acquisition Control (p. 109)
Now, the two timers will work like the following figure illustrates, which means
• Timer1 is the trigger event and
• Timer2 the trigger pulse width:
Figure 2: Timers
By the way, this is a simple "pulse width modulation (PWM)" example.
20.10.1.4 Setting the synchronized acquisition using wxPropView
The following figures show, how you can set the timers and trigger using the GUI tool wxPropView (p. 74)
1. Setting of Timer1 (blue box) on the master camera:
MATRIX VISION GmbH