126
ctc.timerTriggerSource.writeS("UserOutput0");
ctc.timerTriggerActivation.writeS("RisingEdge");
// Set timer duration for Timer1 to value from user input
ctc.timerDuration.write(exposureSec * 1000000);
// set userOutputSelector to UserOutput0 and set UserOutput0 to inactive.
// We will later generate a pulse here to initiate the exposure
ioc.userOutputSelector.writeS("UserOutput0");
ioc.userOutputValue.write(TBoolean.bFalse);
// establish access to the AcquisitionCotrol interface
GenICam.AcquisitionControl ac = new mv.impact.acquire.GenICam.AcquisitionControl(pDev);
// set TriggerSelector to FrameStart and try to set ExposureMode to TriggerWidth
ac.triggerSelector.writeS("FrameStart");
// set TriggerSource for FrameStart to Timer1Active and activate TriggerMode
ac.triggerSource.writeS("Timer1Active");
ac.triggerMode.writeS("On");
// expose as long as we have a high level from Timer1
ac.exposureMode.writeS("TriggerWidth");
}
catch (Exception e)
{
Console.WriteLine("ERROR: Selected device does not support all features needed for
this long time exposure approach: {0}, terminating...", e.Message);
System.Environment.Exit(1);
}
}
Note
Make sure that you adjust the
ImageRequestTimeout_ms
either to 0 (infinite)(this is the default
value) or to a reasonable value that is larger than the actual exposure time in order not to end up with
timeouts resulting from the buffer timeout being smaller than the actual time needed for exposing, trans-
ferring and capturing the image:
ImageRequestTimeout_ms = 0 # or reasonable value
See also
Counter And Timer Control
(p.
Digital I/O Control
(p.
Acquisition Control
(p.
1.18.1.3
Working with multiple AOIs (mv Multi Area Mode)
Since
mvIMPACT Acquire 2.18.3
1.18.1.3.1
Introduction
A special feature of Pregius sensors (a.k.a. IMX) from Sony is the possibility to define multiple AOIs (Areas of
Interests - a.k.a. ROI - Regions of Interests) and to transfer them at the same time. Because many applications just
need one or several specific parts in an image to be checked, this functionality can increase the frame rate.
Once activated, the
"mv Multi Area Mode"
allows you, depending on the sensor, to define up to eight AOIs (
mvArea0
to
mvArea7
) in one image. There are several parameters in combination with the AOIs which are illustrated in the
following figure:
MATRIX VISION GmbH
Summary of Contents for MATRIX VISION mvBlueNAOS
Page 1: ...mvBlueNAOS Technical Manual English Version 2 14...
Page 2: ......
Page 8: ......
Page 22: ...14 MATRIX VISION GmbH...
Page 183: ...1 18 Use Cases 175 Figure 2 Sample settings MATRIX VISION GmbH...
Page 286: ...278 Test setup front side MATRIX VISION GmbH...
Page 292: ...284 MATRIX VISION GmbH...