Acquisition Line Rate#
This is useful if you want to operate the camera at a constant line rate in free run image acquisition.
機能を使用する#
仕組み#
If the Acquisition Line Rate feature is enabled, the camera's maximum line rate is limited by the value you enter for the acquisition line rate parameter.
For example, setting an acquisition line rate of 80 kHz has the following effects:
- If the other factors limiting the line rate allow a line rate of more than 80 kHz, the line rate will be kept at a constant line rate of 80 kHz.
- If the other factors limiting the line rate only allow a line rate of less than 80 kHz, the line rate won't be affected by the Acquisition Line Rate feature.
情報
To determine the actual line rate, use the Resulting Acquisition Line Rate feature.
Setting the Acquisition Line Rate#
- パラメーターを
AcquisitionLineRateEnable
parameter totrue
. - パラメーターを
AcquisitionLineRate
parameter to the desired upper limit for the camera's line rate in kHz.
サンプルコード#
/* 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 */
/* Set the upper limit of the camera's line rate to 80 kHz */
errRes = PylonDeviceSetBooleanFeature(hdev, "AcquisitionLineRateEnable", 1);
CHECK(errRes);
errRes = PylonDeviceSetFloatFeature(hdev, "AcquisitionLineRate", 80.0);
CHECK(errRes);
pylon Viewerを使用して、パラメーターを簡単に設定することもできます。