跳至內容
測試伺服器
開發伺服器

Exposure Start Delay#

「Exposure Start Delay 」相機功能可讓您設定從偵測到觸發訊號到實際開始曝光之間的時間間隔。

曝光起始延遲的時間長短取決於相機型號,以及各項相機功能的設定,例如: Exposure ModeExposure Time 模式,或 Sensor Bit Depth。

若要進一步了解 Basler 攝影機的影像擷取流程(例如時序與延遲),請參閱「擷取時序資訊」一節。

使用功能#

確定Exposure Start Delay#

要確定在當前設定下的曝光起始延遲,請取得 BslExposureStartDelay 參數。曝光開始延遲以微秒為單位。

範例程式碼#

// Determine the exposure start delay at the current settings
double d = camera.BslExposureStartDelay.GetValue();
INodeMap& nodemap = camera.GetNodeMap();
// Determine the exposure start delay at the current settings
double d = CFloatParameter(nodemap, "BslExposureStartDelay").GetValue();
// Determine the exposure start delay at the current settings
double d = camera.Parameters[PLCamera.BslExposureStartDelay].GetValue();
/* 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 */
double d = 0;
/* Determine the exposure start delay at the current settings */
errRes = PylonDeviceGetFloatFeature(hdev, "BslExposureStartDelay", &d);
CHECK(errRes);
# Determine the exposure start delay at the current settings
d = camera.BslExposureStartDelay.Value

您也可以 use the pylon Viewer 來輕鬆設定參數。