콘텐츠로 건너뛰기
STAGING SERVER
DEVELOPMENT SERVER

Line Minimum Output Pulse Width#

Line Minimum Output Pulse Width camera feature를 사용하면 출력 신호의 폭("pulse width")을 넓혀 최소 신호 폭을 확보할 수 있습니다.

일부 수신기에서는 신호를 감지하기 위해 특정 최소 신호 폭이 필요할 수 있으며, 이러한 수신기에 맞추기 위해 카메라 출력 신호 폭을 늘려야 할 수도 있습니다.

기능 사용법#

Line Minimum Output Pulse Width 지정하기#

  1. 다음 값 중 하나로 LineSelector 매개변수를 원하는 카메라 출력 라인에 적용합니다.
  2. 다음 파라미터에 값을 입력합니다: LineMinimumOutputPulseWidth 파라미터.

작동 원리#

카메라 출력 신호를 안정적으로 감지할 수 있도록 Line Minimum Output Pulse Width 기능을 통해 출력 신호 폭을 최소 너비까지 늘릴 수 있습니다. 최소 너비는 마이크로초(µs) 단위로 지정하며 최대 100 µs까지 설정할 수 있습니다.

  • 원래 신호 폭이 지정된 최소 신호 폭보다 좁은 경우, 신호 폭이 늘어나 최소 너비를 충족하게 됩니다.
  • 원래 신호 폭이 설정된 최소 신호 폭과 같거나 더 넓은 경우, 이 기능은 아무런 영향을 미치지 않습니다.

샘플 코드#

// 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

또한 pylon Viewer를 사용하여 파라미터를 손쉽게 설정할 수 있습니다.