コンテンツにスキップ

Auto Function Profile#

Auto Function Profile カメラ機能を使用すると、カメラが自動調整を行っているときに、ゲインと露光時間のバランスを調整する方法を指定できます。

機能を使用する#

Auto Function Profileの設定#

オートファンクションプロファイルを設定するには次の手順を実行します。

  1. Gain Autoオートファンクションに設定して、Exposure AutoオートファンクションをContinuousに設定します。
  2. パラメーターを AutoFunctionProfile 次のいずれかの値(使用している場合)に設定します

使用可能なAuto Function Profile#

Minimize Gain (= Gain Minimum)#

自動調整プロセス中、ゲインは可能な限り低く維持されます。露光時間が上限に達していて、目標の明るさの値にまだ達していない場合は、目標値に到達するためにゲインが増加します。

Minimize Exposure Time (= Exposure Minimum)#

自動調整プロセスでは、露光時間は可能な限り低く維持されます。ゲインが上限に達していて、目標の明るさの値にまだ達していない場合は、目標値に到達するために露光時間を延ばします。

Minimize Gain Quick (= Gain Minimum Quick)#

このプロファイルは、Minimize Gainプロファイルと同じように機能します。その違いは、明るさが極端に変化したり、画像の明るさが急速に変化したりする状況で、より迅速に反応することです。この状況は、例えば、目的タレットを使用して顕微鏡の対物レンズを変更した場合などに起こります。

Minimize Exposure Time Quick (= Exposure Minimum Quick)#

このプロファイルは、Minimize Exposure Timeプロファイルと同じように機能します。その違いは、明るさが極端に変化したり、画像の明るさが急速に変化したりする状況で、より迅速に反応することです。この状況は、例えば、目的タレットを使用して顕微鏡の対物レンズを変更した場合などに起こります。

Smart#

Gainは可能な限り低く維持され、自動調整中、フレームレートは可能な限り高く維持されます。

これは、次の4つの手順で構成されます。

  1. 目標の明るさの値に達するように、カメラは露光時間を調整します。
  2. 目標の明るさの値に達するように露光時間を長くする必要がある場合、カメラはフレームレートが低下するまでそのように動作します。
  3. フレームレートが低下すると、カメラは露光時間の増加を停止し、AutoGainRawUpperLimit値に達するまでゲインを増加します。
  4. AutoGainRawUpperLimit値に達すると、カメラはゲインの増加を停止し、ターゲットの明るさの値に達するまで露光時間を延ばします。露光時間を長くすると、フレームレートが低くなります。

Anti-Flicker 50 Hz / 60 Hz#

Gainおよび露光時間はフリッカーを減らすために最適化されます。照明が50Hzまたは60Hzの速度で点滅する環境でカメラが動作している場合、照明フリッカーによって画像間の明るさが大幅に変化することがあります。アンチフリッカープロファイルを有効にすると、キャプチャされた画像へのフリッカーの影響を軽減できます。

地域の電力線の周波数(例:北米:60Hz、ヨーロッパ:50Hz)に応じて周波数(50Hzまたは60Hz)を選択します。

特性#

すべてのカメラモデルを表示します

カメラモデル 使用可能なAuto Function Profile
a2A1920-51gcBAS Minimize Gain
Minimize Exposure Time
a2A1920-51gcPRO Minimize Gain
Minimize Exposure Time
a2A1920-51gmBAS Minimize Gain
Minimize Exposure Time
a2A1920-51gmPRO Minimize Gain
Minimize Exposure Time
a2A1920-160ucBAS Minimize Gain
Minimize Exposure Time
a2A1920-160ucPRO Minimize Gain
Minimize Exposure Time
a2A1920-160umBAS Minimize Gain
Minimize Exposure Time
a2A1920-160umPRO Minimize Gain
Minimize Exposure Time
a2A2590-22gcBAS Minimize Gain
Minimize Exposure Time
a2A2590-22gcPRO Minimize Gain
Minimize Exposure Time
a2A2590-22gmBAS Minimize Gain
Minimize Exposure Time
a2A2590-22gmPRO Minimize Gain
Minimize Exposure Time
a2A2590-60ucBAS Minimize Gain
Minimize Exposure Time
a2A2590-60ucPRO Minimize Gain
Minimize Exposure Time
a2A2590-60umBAS Minimize Gain
Minimize Exposure Time
a2A2590-60umPRO Minimize Gain
Minimize Exposure Time
a2A3840-13gcBAS Minimize Gain
Minimize Exposure Time
a2A3840-13gcPRO Minimize Gain
Minimize Exposure Time
a2A3840-13gmBAS Minimize Gain
Minimize Exposure Time
a2A3840-13gmPRO Minimize Gain
Minimize Exposure Time
a2A3840-45ucBAS Minimize Gain
Minimize Exposure Time
a2A3840-45ucPRO Minimize Gain
Minimize Exposure Time
a2A3840-45umBAS Minimize Gain
Minimize Exposure Time
a2A3840-45umPRO Minimize Gain
Minimize Exposure Time
a2A4504-5gcBAS Minimize Gain
Minimize Exposure Time
a2A4504-5gcPRO Minimize Gain
Minimize Exposure Time
a2A4504-5gmBAS Minimize Gain
Minimize Exposure Time
a2A4504-5gmPRO Minimize Gain
Minimize Exposure Time
a2A4504-18ucBAS Minimize Gain
Minimize Exposure Time
a2A4504-18ucPRO Minimize Gain
Minimize Exposure Time
a2A4504-18umBAS Minimize Gain
Minimize Exposure Time
a2A4504-18umPRO Minimize Gain
Minimize Exposure Time
a2A5320-7gcBAS Minimize Gain
Minimize Exposure Time
a2A5320-7gcPRO Minimize Gain
Minimize Exposure Time
a2A5320-7gmBAS Minimize Gain
Minimize Exposure Time
a2A5320-7gmPRO Minimize Gain
Minimize Exposure Time
a2A5320-23ucBAS Minimize Gain
Minimize Exposure Time
a2A5320-23ucPRO Minimize Gain
Minimize Exposure Time
a2A5320-23umBAS Minimize Gain
Minimize Exposure Time
a2A5320-23umPRO Minimize Gain
Minimize Exposure Time
a2A5328-4gcBAS Minimize Gain
Minimize Exposure Time
a2A5328-4gcPRO Minimize Gain
Minimize Exposure Time
a2A5328-4gmBAS Minimize Gain
Minimize Exposure Time
a2A5328-4gmPRO Minimize Gain
Minimize Exposure Time
a2A5328-15ucBAS Minimize Gain
Minimize Exposure Time
a2A5328-15ucPRO Minimize Gain
Minimize Exposure Time
a2A5328-15umBAS Minimize Gain
Minimize Exposure Time
a2A5328-15umPRO Minimize Gain
Minimize Exposure Time
acA640-90gc Gain Minimum
Exposure Minimum
acA640-90gm Gain Minimum
Exposure Minimum
acA640-90uc Minimize Gain
Minimize Exposure Time
acA640-90um Minimize Gain
Minimize Exposure Time
acA640-120gc Gain Minimum
Exposure Minimum
acA640-120gm Gain Minimum
Exposure Minimum
acA640-120uc Minimize Gain
Minimize Exposure Time
acA640-120um Minimize Gain
Minimize Exposure Time
acA640-121gm Gain Minimum
Exposure Minimum
acA640-300gc Gain Minimum
Exposure Minimum
acA640-300gm Gain Minimum
Exposure Minimum
acA640-750uc Minimize Gain
Minimize Exposure Time
acA640-750um Minimize Gain
Minimize Exposure Time
acA720-290gc Gain Minimum
Exposure Minimum
acA720-290gm Gain Minimum
Exposure Minimum
acA720-520uc Minimize Gain
Minimize Exposure Time
acA720-520um Minimize Gain
Minimize Exposure Time
acA780-75gc Gain Minimum
Exposure Minimum
acA780-75gm Gain Minimum
Exposure Minimum
acA800-200gc Gain Minimum
Exposure Minimum
acA800-200gm Gain Minimum
Exposure Minimum
acA800-510uc Minimize Gain
Minimize Exposure Time
acA800-510um Minimize Gain
Minimize Exposure Time
acA1280-60gc Gain Minimum
Exposure Minimum
acA1280-60gm Gain Minimum
Exposure Minimum
acA1300-22gc Gain Minimum
Exposure Minimum
acA1300-22gm Gain Minimum
Exposure Minimum
acA1300-30gc Gain Minimum
Exposure Minimum
acA1300-30gm Gain Minimum
Exposure Minimum
acA1300-30uc Minimize Gain
Minimize Exposure Time
acA1300-30um Minimize Gain
Minimize Exposure Time
acA1300-60gc Gain Minimum
Exposure Minimum
acA1300-60gm Gain Minimum
Exposure Minimum
acA1300-60gmNIR Gain Minimum
Exposure Minimum
acA1300-75gc Gain Minimum
Exposure Minimum
acA1300-75gm Gain Minimum
Exposure Minimum
acA1300-200uc Minimize Gain
Minimize Exposure Time
acA1300-200um Minimize Gain
Minimize Exposure Time
acA1440-73gc Gain Minimum
Exposure Minimum
acA1440-73gm Gain Minimum
Exposure Minimum
acA1440-220uc Minimize Gain
Minimize Exposure Time
acA1440-220um Minimize Gain
Minimize Exposure Time
acA1600-20gc Gain Minimum
Exposure Minimum
acA1600-20gm Gain Minimum
Exposure Minimum
acA1600-20uc Minimize Gain
Minimize Exposure Time
acA1600-20um Minimize Gain
Minimize Exposure Time
acA1600-60gc Gain Minimum
Exposure Minimum
acA1600-60gm Gain Minimum
Exposure Minimum
acA1920-25gc Gain Minimum
Exposure Minimum
acA1920-25gm Gain Minimum
Exposure Minimum
acA1920-25uc Minimize Gain
Minimize Exposure Time
acA1920-25um Minimize Gain
Minimize Exposure Time
acA1920-40gc Gain Minimum
Exposure Minimum
acA1920-40gm Gain Minimum
Exposure Minimum
acA1920-40uc Minimize Gain
Minimize Exposure Time
acA1920-40ucMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA1920-40um Minimize Gain
Minimize Exposure Time
acA1920-40umMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA1920-48gc Gain Minimum
Exposure Minimum
acA1920-48gm Gain Minimum
Exposure Minimum
acA1920-50gc Gain Minimum
Exposure Minimum
acA1920-50gm Gain Minimum
Exposure Minimum
acA1920-150uc Minimize Gain
Minimize Exposure Time
acA1920-150um Minimize Gain
Minimize Exposure Time
acA1920-155uc Minimize Gain
Minimize Exposure Time
acA1920-155ucMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA1920-155um Minimize Gain
Minimize Exposure Time
acA1920-155umMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA2000-50gc Gain Minimum
Exposure Minimum
acA2000-50gm Gain Minimum
Exposure Minimum
acA2000-50gmNIR Gain Minimum
Exposure Minimum
acA2000-165uc Minimize Gain
Minimize Exposure Time
acA2000-165um Minimize Gain
Minimize Exposure Time
acA2000-165umNIR Minimize Gain
Minimize Exposure Time
acA2040-25gc Gain Minimum
Exposure Minimum
acA2040-25gm Gain Minimum
Exposure Minimum
acA2040-25gmNIR Gain Minimum
Exposure Minimum
acA2040-35gc Gain Minimum
Exposure Minimum
acA2040-35gm Gain Minimum
Exposure Minimum
acA2040-55uc Minimize Gain
Minimize Exposure Time
acA2040-55um Minimize Gain
Minimize Exposure Time
acA2040-90uc Minimize Gain
Minimize Exposure Time
acA2040-90um Minimize Gain
Minimize Exposure Time
acA2040-90umNIR Minimize Gain
Minimize Exposure Time
acA2040-120uc Minimize Gain
Minimize Exposure Time
acA2040-120um Minimize Gain
Minimize Exposure Time
acA2440-20gc Gain Minimum
Exposure Minimum
acA2440-20gm Gain Minimum
Exposure Minimum
acA2440-35uc Minimize Gain
Minimize Exposure Time
acA2440-35ucMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA2440-35um Minimize Gain
Minimize Exposure Time
acA2440-35umMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA2440-75uc Minimize Gain
Minimize Exposure Time
acA2440-75ucMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA2440-75um Minimize Gain
Minimize Exposure Time
acA2440-75umMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA2500-14gc Gain Minimum
Exposure Minimum
acA2500-14gm Gain Minimum
Exposure Minimum
acA2500-14uc Minimize Gain
Minimize Exposure Time
acA2500-14um Minimize Gain
Minimize Exposure Time
acA2500-20gc Gain Minimum
Exposure Minimum
acA2500-20gcMED Gain Minimum
Exposure Minimum
Gain Minimum Quick
Exposure Minimum Quick
acA2500-20gm Gain Minimum
Exposure Minimum
acA2500-20gmMED Gain Minimum
Exposure Minimum
Gain Minimum Quick
Exposure Minimum Quick
acA2500-60uc Minimize Gain
Minimize Exposure Time
acA2500-60um Minimize Gain
Minimize Exposure Time
acA3088-16gc Gain Minimum
Exposure Minimum
acA3088-16gm Gain Minimum
Exposure Minimum
acA3088-57uc Minimize Gain
Minimize Exposure Time
acA3088-57ucMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA3088-57um Minimize Gain
Minimize Exposure Time
acA3088-57umMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA3800-10gc Gain Minimum
Exposure Minimum
acA3800-10gm Gain Minimum
Exposure Minimum
acA3800-14uc Minimize Gain
Minimize Exposure Time
acA3800-14um Minimize Gain
Minimize Exposure Time
acA4024-8gc Gain Minimum
Exposure Minimum
acA4024-8gm Gain Minimum
Exposure Minimum
acA4024-29uc Minimize Gain
Minimize Exposure Time
acA4024-29um Minimize Gain
Minimize Exposure Time
acA4096-11gc Gain Minimum
Exposure Minimum
acA4096-11gm Gain Minimum
Exposure Minimum
acA4096-30uc Minimize Gain
Minimize Exposure Time
acA4096-30ucMED Minimize Gain
Minimize Exposure Time
acA4096-30um Minimize Gain
Minimize Exposure Time
acA4096-30umMED Minimize Gain
Minimize Exposure Time
acA4096-40uc Minimize Gain
Minimize Exposure Time
acA4096-40ucMED Minimize Gain
Minimize Exposure Time
acA4096-40um Minimize Gain
Minimize Exposure Time
acA4096-40umMED Minimize Gain
Minimize Exposure Time
acA4112-8gc Gain Minimum
Exposure Minimum
acA4112-8gm Gain Minimum
Exposure Minimum
acA4112-20uc Minimize Gain
Minimize Exposure Time
acA4112-20ucMED Minimize Gain
Minimize Exposure Time
acA4112-20um Minimize Gain
Minimize Exposure Time
acA4112-20umMED Minimize Gain
Minimize Exposure Time
acA4112-30uc Minimize Gain
Minimize Exposure Time
acA4112-30ucMED Minimize Gain
Minimize Exposure Time
acA4112-30um Minimize Gain
Minimize Exposure Time
acA4112-30umMED Minimize Gain
Minimize Exposure Time
acA4600-7gc Gain Minimum
Exposure Minimum
acA4600-10uc Minimize Gain
Minimize Exposure Time
acA5472-5gc Gain Minimum
Exposure Minimum
acA5472-5gm Gain Minimum
Exposure Minimum
acA5472-17uc Minimize Gain
Minimize Exposure Time
acA5472-17ucMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
acA5472-17um Minimize Gain
Minimize Exposure Time
acA5472-17umMED Minimize Gain
Minimize Exposure Time
Minimize Gain Quick
Minimize Exposure Time Quick
boA4096-93cc Minimize Gain
Minimize Exposure Time
boA4096-93cm Minimize Gain
Minimize Exposure Time
boA4112-68cc Minimize Gain
Minimize Exposure Time
boA4112-68cm Minimize Gain
Minimize Exposure Time
boA6500-36cm Minimize Gain
Minimize Exposure Time
boA8100-16cm Minimize Gain
Minimize Exposure Time
daA1280-54lc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1280-54lm Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1280-54uc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1280-54um Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1600-60lc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1600-60lm Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1600-60uc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1600-60um Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1920-15um Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1920-30uc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1920-30um Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA1920-160uc Minimize Gain
Minimize Exposure Time
daA1920-160um Minimize Gain
Minimize Exposure Time
daA2500-14lc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA2500-14lm Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA2500-14uc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
daA2500-14um Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
puA1280-54uc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
puA1280-54um Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
puA1600-60uc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
puA1600-60um Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
puA1920-30uc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
puA1920-30um Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
puA2500-14uc Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz
puA2500-14um Minimize Gain
Minimize Exposure Time
Smart
Anti-Flicker 50 Hz
Anti-Flicker 60 Hz

サンプルコード#

ace classic/U/L GigEカメラ#

// Set the auto function profile to Gain Minimum
camera.AutoFunctionProfile.SetValue(AutoFunctionProfile_GainMinimum);
// Set the auto function profile to Exposure Minimum
camera.AutoFunctionProfile.SetValue(AutoFunctionProfile_ExposureMinimum);
// Enable Gain and Exposure Auto auto functions and set the operating mode to Continuous
camera.GainAuto.SetValue(GainAuto_Continuous);
camera.ExposureAuto.SetValue(ExposureAuto_Continuous);
INodeMap& nodemap = camera.GetNodeMap();
// Set the auto function profile to Gain Minimum
CEnumParameter(nodemap, "AutoFunctionProfile").SetValue("GainMinimum");
// Set the auto function profile to Exposure Minimum
CEnumParameter(nodemap, "AutoFunctionProfile").SetValue("ExposureMinimum");
// Enable Gain and Exposure Auto auto functions and set the operating mode to Continuous
CEnumParameter(nodemap, "GainAuto").SetValue("Continuous");
CEnumParameter(nodemap, "ExposureAuto").SetValue("Continuous");
// Set the auto function profile to Gain Minimum
camera.Parameters[PLCamera.AutoFunctionProfile].SetValue(PLCamera.AutoFunctionProfile.GainMinimum);
// Set the auto function profile to Exposure Minimum
camera.Parameters[PLCamera.AutoFunctionProfile].SetValue(PLCamera.AutoFunctionProfile.ExposureMinimum);
// Enable Gain and Exposure Auto auto functions and set the operating mode to Continuous
camera.Parameters[PLCamera.GainAuto].SetValue(PLCamera.GainAuto.Continuous);
camera.Parameters[PLCamera.ExposureAuto].SetValue(PLCamera.ExposureAuto.Continuous);
/* 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 auto function profile to Gain Minimum */
errRes = PylonDeviceFeatureFromString(hdev, "AutoFunctionProfile", "GainMinimum");
CHECK(errRes);
/* Set the auto function profile to Exposure Minimum */
errRes = PylonDeviceFeatureFromString(hdev, "AutoFunctionProfile", "ExposureMinimum");
CHECK(errRes);
/* Enable Gain and Exposure Auto auto functions and set the operating mode to Continuous */
errRes = PylonDeviceFeatureFromString(hdev, "GainAuto", "Continuous");
CHECK(errRes);
errRes = PylonDeviceFeatureFromString(hdev, "ExposureAuto", "Continuous");
CHECK(errRes);

その他のカメラ#

// Set the auto function profile to Minimize Gain
camera.AutoFunctionProfile.SetValue(AutoFunctionProfile_MinimizeGain);
// Set the auto function profile to Minimize Exposure Time
camera.AutoFunctionProfile.SetValue(AutoFunctionProfile_MinimizeExposureTime);
// Enable Gain and Exposure Auto auto functions and set the operating mode to Continuous
camera.GainAuto.SetValue(GainAuto_Continuous);
camera.ExposureAuto.SetValue(ExposureAuto_Continuous);
INodeMap& nodemap = camera.GetNodeMap();
// Set the auto function profile to Minimize Gain
CEnumParameter(nodemap, "AutoFunctionProfile").SetValue("MinimizeGain");
// Set the auto function profile to Minimize Exposure Time
CEnumParameter(nodemap, "AutoFunctionProfile").SetValue("MinimizeExposureTime");
// Enable Gain and Exposure Auto auto functions and set the operating mode to Continuous
CEnumParameter(nodemap, "GainAuto").SetValue("Continuous");
CEnumParameter(nodemap, "ExposureAuto").SetValue("Continuous");
// Set the auto function profile to Minimize Gain
camera.Parameters[PLCamera.AutoFunctionProfile].SetValue(PLCamera.AutoFunctionProfile.MinimizeGain);
// Set the auto function profile to Minimize Exposure Time
camera.Parameters[PLCamera.AutoFunctionProfile].SetValue(PLCamera.AutoFunctionProfile.MinimizeExposureTime);
// Enable Gain and Exposure Auto auto functions and set the operating mode to Continuous
camera.Parameters[PLCamera.GainAuto].SetValue(PLCamera.GainAuto.Continuous);
camera.Parameters[PLCamera.ExposureAuto].SetValue(PLCamera.ExposureAuto.Continuous);
/* 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 auto function profile to Minimize Gain */
errRes = PylonDeviceFeatureFromString(hdev, "AutoFunctionProfile", "MinimizeGain");
CHECK(errRes);
/* Set the auto function profile to Minimize Exposure Time */
errRes = PylonDeviceFeatureFromString(hdev, "AutoFunctionProfile", "MinimizeExposureTime");
CHECK(errRes);
/* Enable Gain and Exposure Auto auto functions and set the operating mode to Continuous */
errRes = PylonDeviceFeatureFromString(hdev, "GainAuto", "Continuous");
CHECK(errRes);
errRes = PylonDeviceFeatureFromString(hdev, "ExposureAuto", "Continuous");
CHECK(errRes);

pylon Viewerを使用して、パラメーターを簡単に設定することもできます。