Operator Library: Signal
The operator gates the image stream between the input I and the output O. The gate is controlled by the signal input link Gate. If the gate is closed, the input data is discarded. If the gate is open, pixels are forwarded to the output. However, the operator ensures that the integrity of lines or frames is not destroyed i.e. always full lines or frames are transfered and will not be cut. If the operator is used with the input image protocol VALT_LINE1D, the operator will assemble the lines within one open gate period into a frame. Thus it combines lines and converts an infinite line stream for example of a line scan camera into frames. The operator is often used as image trigger for line scan cameras.
In the following figure an example of the operator's behavior is shown. As you can see, lines are fed into the operator. Each line is terminated with an end of line control signal which is embedded in the image link stream. The gate is open for a duration of three lines. At the output the first three lines are present while the fourth and fifth are discarded. Moreover, after the last line before the gate is closed, an end of frame marker is added to the image data stream. To summarize, in the example, the operator assembled the first three lines into a frame. Data is discarded during the closed periods.
If the gate opens while a line is currently processed, the line will not be used. Moreover, if the gate closes while a line is currently processed, the line will be fully transfered to the output. This ensures the integrity of lines. The following waveform shows these cases.
A shortly closed gate will cause the generation of an end of frame. The next two waveforms show short periods of open or closed gates.
Keep in mind, a line will be used if the gate is open at the same time as the first pixel of a line is present at the input link. An end of frame is generated after a line if the respective line is not discarded and falling edge of the gate input was present after the first line pixel.
Instead of a VALT_LINE1D line data stream, the operator can be used with a VALT_IMAGE2D image data stream at input I. In this case, the operator will forward the full input frame if the gate is open simultaneously to the first pixel of the image as can be seen in the following.
The reset input can be used to reset the operator i.e. to cut a line, and restart.
Simplified Waveforms | |
---|---|
The waveform illustrations are simplified to show the exact operator's behavior. The real implementation delays the end of line and end of frame output. |
Operator Violates Max.Image Height | |
---|---|
If the gate is constantly open, the operator will generate an image of a large height. If this height exceeds the Max. Image Height link property set for the output link, the VisualApplets rules are violated. You should either cut exceeding images using operator SplitImage or delete exceeding lines (RemoveLine, SelectROI). |
This operator is excluded from the VisualApplets functional simulation.
Property | Value |
---|---|
Operator Type | P |
Input Links | I, image data input Gate, signal input Reset, signal input |
Output Link | O, image data output |
Synchronous and Asynchronous Inputs
- All signal inputs may be sourced by the same or different M-type operators through an arbitrary network of O-type operators. If they are sourced by the same M-type source, they will be automatically synchronized.
- Input link I is asynchronous to the signal inputs.
The use of operator SignalGate is shown in the following examples:
-
A line scan trigger is presented. The trigger includes an image trigger using a capture gate as well as a multi functional line trigger. External sources, an internal frequency generator or software trigger pulses can be used for trigger generation.
-
'Rebuild of Operator TrgPortLine with VisualApplets Signal Processing Operators'
A VisualApplets design example where all functions of operator TrgPortLine are rebuild using other signal processing operators. Allows custom trigger modules.
-
A line scan trigger is presented. The trigger includes an image trigger using a capture gate as well as a multi functional line trigger. External sources, an internal frequency generator or software trigger pulses can be used for trigger generation. The camera can be triggered via cable connection to the trigger ports or directly with ActionCommands. See here especially the documentation 'ActionCommand'. See also the Action Command SDK example under SDK_Examples\gbe\ActionCommands in your Framegrabber SDK installation folder.
-
A line scan trigger is presented. The trigger includes an image trigger using a capture gate as well as a multi functional line trigger. External sources, an internal frequency generator or software trigger pulses can be used for trigger generation.
-
'Line Scan Trigger for microEnable 5 VD8-CL/-PoCL Using Signal Operators and Operator CameraControl'
A line scan trigger is presented. The trigger includes an image trigger using a capture gate as well as a multi functional line trigger. External sources, an internal frequency generator or software trigger pulses can be used for trigger generation.
-
'Line Scan Trigger for microEnable 5 marathon VCX QP Using Signal Operators'
A line scan trigger is presented. The trigger includes an image trigger using a capture gate as well as a multi functional line trigger. External sources, an internal frequency generator or software trigger pulses can be used for trigger generation.
-
'Line Scan Trigger for imaFlex CXP-12 Quad Using Signal Operators'
A line scan trigger for CoaXPress12 is presented. The trigger includes an image trigger using a capture gate as well as a multi functional line trigger. External sources, an internal frequency generator or software trigger pulses can be used for trigger generation.
-
'Line Scan Trigger for microEnable 5 VQ8-CXP6 Using Signal Operators'
A line scan trigger is presented. The trigger includes an image trigger using a capture gate as well as a multi functional line trigger. External sources, an internal frequency generator or software trigger pulses can be used for trigger generation.