Line Minimum Output Pulse Width#
Increasing the camera output signal width can be necessary to suit certain receivers that may require a certain minimum signal width to be able to detect the signals.
Using the Feature#
Specifying a Line Minimum Output Pulse Width#
- Set the
LineSelector
parameter to the desired camera output line. - Enter a value for the
LineMinimumOutputPulseWidth
parameter.
How It Works#
To ensure reliable detection of camera output signals, the Line Minimum Output Pulse Width feature allows you to increase the output signal width to a minimum width. The minimum width is specified in microseconds, up to a maximum value of 100 μs.
- If the original signal width is narrower than the minimum signal width specified, the signal width is increased to achieve the minimum width.
- If the original signal width is equal to or wider than the set minimum signal width, the feature has no effect.
Sample Code#
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK; /* Return value of pylon methods */
/* Select output line Line 2 */
errRes = PylonDeviceFeatureFromString(hdev, "LineSelector", "Line2");
CHECK(errRes);
/* Set the parameter value to 10.0 microseconds */
errRes = PylonDeviceSetFloatFeature(hdev, "LineMinimumOutputPulseWidth", 10.0);
CHECK(errRes);
You can also use the pylon Viewer to easily set the parameters.