Skip to content

Line Minimum Output Pulse Width#

The Line Minimum Output Pulse Width camera feature allows you to increase the signal width ("pulse width") of an output signal in order to achieve a minimum signal 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#

  1. Set the LineSelector parameter to the desired camera output line.
  2. 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#

// Select output line Line 2
camera.LineSelector.SetValue(LineSelector_Line2);
// Set the parameter value to 10.0 microseconds
camera.LineMinimumOutputPulseWidth.SetValue(10.0);
INodeMap& nodemap = camera.GetNodeMap();
// Select output line Line 2
CEnumParameter(nodemap, "LineSelector").SetValue("Line2");
// Set the parameter value to 10.0 microseconds
CFloatParameter(nodemap, "LineMinimumOutputPulseWidth").SetValue(10.0);
// Select output line Line 2
camera.Parameters[PLCamera.LineSelector].SetValue(PLCamera.LineSelector.Line2);
// Set the parameter value to 10.0 microseconds
camera.Parameters[PLCamera.LineMinimumOutputPulseWidth].SetValue(10.0);
/* 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);
# Select output line Line 2
camera.LineSelector.Value = "Line2"
# Set the parameter value to 10.0 microseconds
camera.LineMinimumOutputPulseWidth.Value = 10.0

You can also use the pylon Viewer to easily set the parameters.