콘텐츠로 바로 가기
STAGING SERVER
DEVELOPMENT SERVER

Line Minimum Output Pulse Width#

Line Minimum Output Pulse Width 카메라 기능을 사용하면 출력 신호의 폭("펄스 폭")을 늘려 최소 신호 폭을 확보할 수 있습니다.

특정 수신기는 신호를 감지하기 위해 일정 수준 이상의 최소 신호 폭을 요구할 수 있으므로, 카메라 출력 신호 폭을 늘려야 할 수도 있습니다.

기능 사용#

Line Minimum Output Pulse Width 지정하기#

  1. 파라미터를 원하는 LineSelector 원하는 카메라 출력 라인에 파라미터를 설정합니다.
  2. 다음 항목의 값을 입력합니다: LineMinimumOutputPulseWidth 파라미터에 HTML 로그 파일(*.html)의 경로와 이름을 지정할 수 있습니다.

작동 방식#

카메라 출력 신호의 안정적인 감지를 보장하기 위해, Line Minimum Output Pulse Width 기능을 사용하면 출력 신호 폭을 최소 너비까지 늘릴 수 있습니다. 최소 너비는 마이크로초 단위로 지정하며 최대 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를 사용하여 파라미터를 손쉽게 설정할 수도 있습니다.