跳转到内容
STAGING SERVER
DEVELOPMENT SERVER

传感器 Shutter Mode#

通过传感器 Shutter Mode 相机功能,您可以更改相机电子快门的操作模式。

The available shutter modes vary by camera model. This feature is only available on cameras where the shutter mode can be changed. To find out more about your camera's electronic shutter, see the Electronic Shutter Types topic.

该功能的使用#

更换传感器 Shutter Mode#

要更改快门模式,请将 ShutterMode 参数设置为以下值之一:

附加参数#

acA2500-14gm/gcacA1920-25gm/gc 相机上,GlobalResetReleaseModeEnable 参数可用。

  • 如果您将参数设置为 true,相机会将 ShutterMode 参数设置为 GlobalResetRelease,并作为全局重置释放快门相机使用。
  • 如果您将参数设置为 true,相机会将 ShutterMode 参数设置为 Rolling,并作为卷帘快门相机使用。

详情#

显示所有相机型号

相机型号 可用快门模式
a2A640-240gmSWIR 不支持的功能
a2A640-240umSWIR 不支持的功能
a2A1280-80gmSWIR 不支持的功能
a2A1280-125umSWIR 不支持的功能
a2A1920-51gcBAS 不支持的功能
a2A1920-51gcIP67 不支持的功能
a2A1920-51gcPRO 不支持的功能
a2A1920-51gmBAS 不支持的功能
a2A1920-51gmIP67 不支持的功能
a2A1920-51gmPRO 不支持的功能
a2A1920-160ucBAS 不支持的功能
a2A1920-160ucPRO 不支持的功能
a2A1920-160umBAS 不支持的功能
a2A1920-160umPRO 不支持的功能
a2A1920-165g5cBAS 不支持的功能
a2A1920-165g5mBAS 不支持的功能
a2A2048-35gmSWIR 不支持的功能
a2A2048-37gcBAS 不支持的功能
a2A2048-37gcPRO 不支持的功能
a2A2048-37gmBAS 不支持的功能
a2A2048-37gmPRO 不支持的功能
a2A2048-110umSWIR 不支持的功能
a2A2048-114g5cBAS 不支持的功能
a2A2048-114g5mBAS 不支持的功能
a2A2048-114ucBAS 不支持的功能
a2A2048-114ucPRO 不支持的功能
a2A2048-114umBAS 不支持的功能
a2A2048-114umPRO 不支持的功能
a2A2048-173cmSWIR 不支持的功能
a2A2440-98g5cBAS 不支持的功能
a2A2440-98g5mBAS 不支持的功能
a2A2448-23gcBAS 不支持的功能
a2A2448-23gcIP67 不支持的功能
a2A2448-23gcPRO 不支持的功能
a2A2448-23gmBAS 不支持的功能
a2A2448-23gmIP67 不支持的功能
a2A2448-23gmPRO 不支持的功能
a2A2448-75ucBAS 不支持的功能
a2A2448-75ucPRO 不支持的功能
a2A2448-75umBAS 不支持的功能
a2A2448-75umPRO 不支持的功能
a2A2448-105g5cBAS 不支持的功能
a2A2448-105g5mBAS 不支持的功能
a2A2448-120cc 不支持的功能
a2A2448-120cm 不支持的功能
a2A2448-210cc 不支持的功能
a2A2448-210cm 不支持的功能
a2A2560-20gmSWIR 不支持的功能
a2A2560-70umSWIR 不支持的功能
a2A2560-131cmSWIR 不支持的功能
a2A2590-22gcBAS 不支持的功能
a2A2590-22gcPRO 不支持的功能
a2A2590-22gmBAS 不支持的功能
a2A2590-22gmPRO 不支持的功能
a2A2590-60ucBAS 不支持的功能
a2A2590-60ucPRO 不支持的功能
a2A2590-60umBAS 不支持的功能
a2A2590-60umPRO 不支持的功能
a2A2600-20gcBAS 不支持的功能
a2A2600-20gcPRO 不支持的功能
a2A2600-20gmBAS 不支持的功能
a2A2600-20gmPRO 不支持的功能
a2A2600-64ucBAS 不支持的功能
a2A2600-64ucPRO 不支持的功能
a2A2600-64umBAS 不支持的功能
a2A2600-64umPRO 不支持的功能
a2A2840-14gcBAS 不支持的功能
a2A2840-14gcIP67 不支持的功能
a2A2840-14gcPRO 不支持的功能
a2A2840-14gmBAS 不支持的功能
a2A2840-14gmIP67 不支持的功能
a2A2840-14gmPRO 不支持的功能
a2A2840-14gmUV 不支持的功能
a2A2840-48ucBAS 不支持的功能
a2A2840-48ucPRO 不支持的功能
a2A2840-48umBAS 不支持的功能
a2A2840-48umPRO 不支持的功能
a2A2840-48umUV 不支持的功能
a2A2840-67g5cBAS 不支持的功能
a2A2840-67g5mBAS 不支持的功能
a2A2840-67g5mUV 不支持的功能
a2A2840-86cc 不支持的功能
a2A2840-86cm 不支持的功能
a2A3536-9gcBAS 不支持的功能
a2A3536-9gcPRO 不支持的功能
a2A3536-9gmBAS 不支持的功能
a2A3536-9gmPRO 不支持的功能
a2A3536-31ucBAS 不支持的功能
a2A3536-31ucPRO 不支持的功能
a2A3536-31umBAS 不支持的功能
a2A3536-31umPRO 不支持的功能
a2A3536-42g5cBAS 不支持的功能
a2A3536-42g5mBAS 不支持的功能
a2A3840-13gcBAS 不支持的功能
a2A3840-13gcPRO 不支持的功能
a2A3840-13gmBAS 不支持的功能
a2A3840-13gmPRO 不支持的功能
a2A3840-45ucBAS 不支持的功能
a2A3840-45ucPRO 不支持的功能
a2A3840-45umBAS 不支持的功能
a2A3840-45umPRO 不支持的功能
a2A4096-9gcBAS 不支持的功能
a2A4096-9gcIP67 不支持的功能
a2A4096-9gcPRO 不支持的功能
a2A4096-9gmBAS 不支持的功能
a2A4096-9gmIP67 不支持的功能
a2A4096-9gmPRO 不支持的功能
a2A4096-30ucBAS 不支持的功能
a2A4096-30ucPRO 不支持的功能
a2A4096-30umBAS 不支持的功能
a2A4096-30umPRO 不支持的功能
a2A4096-44g5cBAS 不支持的功能
a2A4096-44g5mBAS 不支持的功能
a2A4096-67cc 不支持的功能
a2A4096-67cm 不支持的功能
a2A4200-12gcBAS 不支持的功能
a2A4200-12gcPRO 不支持的功能
a2A4200-12gmBAS 不支持的功能
a2A4200-12gmPRO 不支持的功能
a2A4200-40ucBAS 不支持的功能
a2A4200-40ucPRO 不支持的功能
a2A4200-40umBAS 不支持的功能
a2A4200-40umPRO 不支持的功能
a2A4504-5gcBAS 不支持的功能
a2A4504-5gcIP67 不支持的功能
a2A4504-5gcPRO 不支持的功能
a2A4504-5gmBAS 不支持的功能
a2A4504-5gmIP67 不支持的功能
a2A4504-5gmPRO 不支持的功能
a2A4504-18ucBAS 不支持的功能
a2A4504-18ucPRO 不支持的功能
a2A4504-18umBAS 不支持的功能
a2A4504-18umPRO 不支持的功能
a2A4504-27g5cBAS 不支持的功能
a2A4504-27g5mBAS 不支持的功能
a2A4504-42cc 不支持的功能
a2A4504-42cm 不支持的功能
a2A4508-6gcBAS 不支持的功能
a2A4508-6gcPRO 不支持的功能
a2A4508-6gmBAS 不支持的功能
a2A4508-6gmPRO 不支持的功能
a2A4508-20ucBAS 不支持的功能
a2A4508-20ucPRO 不支持的功能
a2A4508-20umBAS 不支持的功能
a2A4508-20umPRO 不支持的功能
a2A5060-4gcBAS 不支持的功能
a2A5060-4gmBAS 不支持的功能
a2A5060-15ucBAS 不支持的功能
a2A5060-15umBAS 不支持的功能
a2A5060-21g5cBAS 不支持的功能
a2A5060-21g5mBAS 不支持的功能
a2A5060-35cc 不支持的功能
a2A5060-35cm 不支持的功能
a2A5320-7gcBAS 不支持的功能
a2A5320-7gcIP67 不支持的功能
a2A5320-7gcPRO 不支持的功能
a2A5320-7gmBAS 不支持的功能
a2A5320-7gmPRO 不支持的功能
a2A5320-7gmip67 不支持的功能
a2A5320-23ucBAS 不支持的功能
a2A5320-23ucPRO 不支持的功能
a2A5320-23umBAS 不支持的功能
a2A5320-23umPRO 不支持的功能
a2A5320-34g5cBAS 不支持的功能
a2A5320-34g5mBAS 不支持的功能
a2A5320-52cc 不支持的功能
a2A5320-52cm 不支持的功能
a2A5328-4gcBAS 不支持的功能
a2A5328-4gcIP67 不支持的功能
a2A5328-4gcPRO 不支持的功能
a2A5328-4gmBAS 不支持的功能
a2A5328-4gmIP67 不支持的功能
a2A5328-4gmPRO 不支持的功能
a2A5328-15ucBAS 不支持的功能
a2A5328-15ucPRO 不支持的功能
a2A5328-15umBAS 不支持的功能
a2A5328-15umPRO 不支持的功能
a2A5328-22g5cBAS 不支持的功能
a2A5328-22g5mBAS 不支持的功能
a2A5328-35cc 不支持的功能
a2A5328-35cm 不支持的功能
acA640-121gm 不支持的功能
acA640-300gc 不支持的功能
acA640-300gm 不支持的功能
acA640-750uc 不支持的功能
acA640-750um 不支持的功能
acA720-290gc 不支持的功能
acA720-290gm 不支持的功能
acA720-520uc 不支持的功能
acA720-520um 不支持的功能
acA800-200gc 不支持的功能
acA800-200gm 不支持的功能
acA800-510uc 不支持的功能
acA800-510um 不支持的功能
acA1280-60gc 不支持的功能
acA1280-60gm 不支持的功能
acA1300-60gc 全局
滚动
全局重置释放
acA1300-60gm 全局
滚动
全局重置释放
acA1300-60gmNIR 全局
滚动
全局重置释放
acA1300-75gc 不支持的功能
acA1300-75gm 不支持的功能
acA1300-200uc 不支持的功能
acA1300-200um 不支持的功能
acA1440-73gc 不支持的功能
acA1440-73gm 不支持的功能
acA1440-220uc 不支持的功能
acA1440-220um 不支持的功能
acA1600-20gc 不支持的功能
acA1600-20uc 不支持的功能
acA1600-60gc 全局
滚动
全局重置释放
acA1600-60gm 全局
滚动
全局重置释放
acA1920-25gc 滚动
全局重置释放
acA1920-25gm 滚动
全局重置释放
acA1920-25uc 滚动
全局重置释放
acA1920-25um 滚动
全局重置释放
acA1920-40gc 不支持的功能
acA1920-40gm 不支持的功能
acA1920-40uc 不支持的功能
acA1920-40ucMED 不支持的功能
acA1920-40um 不支持的功能
acA1920-40umMED 不支持的功能
acA1920-48gc 不支持的功能
acA1920-48gm 不支持的功能
acA1920-50gc 不支持的功能
acA1920-50gm 不支持的功能
acA1920-150uc 不支持的功能
acA1920-150um 不支持的功能
acA1920-155uc 不支持的功能
acA1920-155ucMED 不支持的功能
acA1920-155um 不支持的功能
acA1920-155umMED 不支持的功能
acA2000-50gc 不支持的功能
acA2000-50gm 不支持的功能
acA2000-165uc 不支持的功能
acA2000-165um 不支持的功能
acA2040-25gc 不支持的功能
acA2040-25gm 不支持的功能
acA2040-25gmNIR 不支持的功能
acA2040-35gc 不支持的功能
acA2040-35gm 不支持的功能
acA2040-55uc 不支持的功能
acA2040-55um 不支持的功能
acA2040-90uc 不支持的功能
acA2040-90um 不支持的功能
acA2040-90umNIR 不支持的功能
acA2040-120uc 不支持的功能
acA2040-120um 不支持的功能
acA2440-20gc 不支持的功能
acA2440-20gm 不支持的功能
acA2440-35uc 不支持的功能
acA2440-35ucMED 不支持的功能
acA2440-35um 不支持的功能
acA2440-35umMED 不支持的功能
acA2440-75uc 不支持的功能
acA2440-75ucMED 不支持的功能
acA2440-75um 不支持的功能
acA2440-75umMED 不支持的功能
acA2500-14gc 滚动
全局重置释放
acA2500-14gm 滚动
全局重置释放
acA2500-14uc 滚动
全局重置释放
acA2500-14um 滚动
全局重置释放
acA2500-20gc 不支持的功能
acA2500-20gcMED 不支持的功能
acA2500-20gm 不支持的功能
acA2500-20gmMED 不支持的功能
acA2500-60uc 不支持的功能
acA2500-60um 不支持的功能
acA3088-16gc 滚动
全局重置释放
acA3088-16gm 滚动
全局重置释放
acA3088-57uc 滚动
全局重置释放
acA3088-57ucMED 滚动
全局重置释放
acA3088-57um 滚动
全局重置释放
acA3088-57umMED 滚动
全局重置释放
acA3800-10gc 滚动
全局重置释放
acA3800-10gm 滚动
全局重置释放
acA3800-14uc 滚动
全局重置释放
acA3800-14um 滚动
全局重置释放
acA4024-8gc 滚动
全局重置释放
acA4024-8gm 滚动
全局重置释放
acA4024-29uc 滚动
全局重置释放
acA4024-29um 滚动
全局重置释放
acA4096-11gc 不支持的功能
acA4096-11gm 不支持的功能
acA4096-30uc 不支持的功能
acA4096-30ucMED 不支持的功能
acA4096-30um 不支持的功能
acA4096-30umMED 不支持的功能
acA4096-40uc 不支持的功能
acA4096-40ucMED 不支持的功能
acA4096-40um 不支持的功能
acA4096-40umMED 不支持的功能
acA4112-8gc 不支持的功能
acA4112-8gm 不支持的功能
acA4112-20uc 不支持的功能
acA4112-20ucMED 不支持的功能
acA4112-20um 不支持的功能
acA4112-20umMED 不支持的功能
acA4112-30uc 不支持的功能
acA4112-30ucMED 不支持的功能
acA4112-30um 不支持的功能
acA4112-30umMED 不支持的功能
acA5472-5gc 滚动
全局重置释放
acA5472-5gm 滚动
全局重置释放
acA5472-17uc 滚动
全局重置释放
acA5472-17ucMED 滚动
全局重置释放
acA5472-17um 滚动
全局重置释放
acA5472-17umMED 滚动
全局重置释放
boA1936-400cc 不支持的功能
boA1936-400cm 不支持的功能
boA2448-250cc 不支持的功能
bo2448-250cm 不支持的功能
boA2832-190cc 不支持的功能
bo2832-190cm 不支持的功能
boA4096-93cc 不支持的功能
boA4096-93cm 不支持的功能
boA4096-180cc 不支持的功能
bo4096-180cm 不支持的功能
boA4112-68cc 不支持的功能
boA4112-68cm 不支持的功能
boA4500-45cc 不支持的功能
boA4500-45cm 不支持的功能
boA4504-100cc 不支持的功能
boA4504-100cm 不支持的功能
boA5120-150cc 不支持的功能
boA5120-150cm 不支持的功能
boA5120-230cc 不支持的功能
boA5120-230cm 不支持的功能
boA5320-150cc 不支持的功能
boA5320-150cm 不支持的功能
boA5328-100cc 不支持的功能
boA5328-100cm 不支持的功能
boA6500-36cc 不支持的功能
boA6500-36cm 不支持的功能
boA8100-16cc 不支持的功能
boA8100-16cm 不支持的功能
boA9344-30cc 不支持的功能
boA9344-30cm 不支持的功能
boA9344-70cc 不支持的功能
boA9344-70cm 不支持的功能
boA13440-17cm 不支持的功能
daA720-520uc 不支持的功能
daA720-520um 不支持的功能
daA1280-54uc 不支持的功能
daA1280-54um 不支持的功能
daA1440-220uc 不支持的功能
daA1440-220um 不支持的功能
daA1600-60uc 不支持的功能
daA1600-60um 不支持的功能
daA1920-15um 滚动
全局重置释放
daA1920-30uc 滚动
全局重置释放
daA1920-30um 滚动
全局重置释放
daA1920-160uc 不支持的功能
daA1920-160um 不支持的功能
daA2448-70uc 不支持的功能
daA2448-70um 不支持的功能
daA2500-14uc 滚动
全局重置释放
daA2500-14um 滚动
全局重置释放
daA3840-45uc 不支持的功能
daA3840-45um 不支持的功能
dmA720-290gc 不支持的功能
dmA720-290gm 不支持的功能
dmA1440-73gc 不支持的功能
dmA1440-73gm 不支持的功能
dmA1920-51gc 不支持的功能
dmA1920-51gm 不支持的功能
dmA2048-37gc 不支持的功能
dmA2048-37gm 不支持的功能
dmA2448-23gc 不支持的功能
dmA2448-23gm 不支持的功能
dmA2840-14gc 不支持的功能
dmA2840-14gm 不支持的功能
dmA3536-9gc 不支持的功能
dmA3536-9gm 不支持的功能
dmA4096-9gc 不支持的功能
dmA4096-9gm 不支持的功能
puA1280-54uc 不支持的功能
puA1280-54um 不支持的功能
puA1600-60uc 不支持的功能
puA1600-60um 不支持的功能
puA1920-30uc 滚动
全局重置释放
puA1920-30um 滚动
全局重置释放
puA2500-14uc 滚动
全局重置释放
puA2500-14um 滚动
全局重置释放
r2L2048-29gc 不支持的功能
r2L2048-58gm 不支持的功能
r2L2048-62cc 不支持的功能
r2L2048-62g5c 不支持的功能
r2L2048-172cm 不支持的功能
r2L2048-172g5m 不支持的功能
r2L4096-14gc 不支持的功能
r2L4096-29gm 不支持的功能
r2L4096-42cc 不支持的功能
r2L4096-42g5c 不支持的功能
r2L4096-84cm 不支持的功能
r2L4096-84g5m 不支持的功能
r2L8192-80cc 不支持的功能
r2L8192-240cm 不支持的功能
r2L16384-60cc 不支持的功能
r2L16384-120cm 不支持的功能

示例代码#

ace 2、dart 和 pulse 相机#
// Determine the current sensor shutter mode
SensorShutterModeEnums shutterMode = camera.SensorShutterMode.GetValue();
// Set the sensor shutter mode to Rolling
camera.SensorShutterMode.SetValue(SensorShutterMode_Rolling);
INodeMap& nodemap = camera.GetNodeMap();
// Determine the current sensor shutter mode
String_t shutterMode = CEnumParameter(nodemap, "SensorShutterMode").GetValue();
// Set the sensor shutter mode to Rolling
CEnumParameter(nodemap, "SensorShutterMode").SetValue("Rolling");
// Determine the current sensor shutter mode
string shutterMode = camera.Parameters[PLCamera.SensorShutterMode].GetValue();
// Set the sensor shutter mode to Rolling
camera.Parameters[PLCamera.SensorShutterMode].SetValue(PLCamera.SensorShutterMode.Rolling);
size_t len = 0;
char shutterMode_str[64] = {0};
/* Determine the current sensor shutter mode */
len = sizeof(shutterMode_str);
errRes = PylonDeviceFeatureToString(hdev, "SensorShutterMode", shutterMode_str, &len);
CHECK(errRes);
/* Set the sensor shutter mode to Rolling */
errRes = PylonDeviceFeatureFromString(hdev, "SensorShutterMode", "Rolling");
CHECK(errRes);
# Determine the current sensor shutter mode
shutterMode = camera.SensorShutterMode.Value
# Set the sensor shutter mode to Rolling
camera.SensorShutterMode.Value = "Rolling"
其他相机#
// Determine the current shutter mode
ShutterModeEnums shutterMode = camera.ShutterMode.GetValue();
// Set the shutter mode to rolling
camera.ShutterMode.SetValue(ShutterMode_Rolling);
// Set the shutter mode to global reset release
camera.ShutterMode.SetValue(ShutterMode_GlobalResetRelease);
INodeMap& nodemap = camera.GetNodeMap();
// Determine the current shutter mode
String_t shutterMode = CEnumParameter(nodemap, "ShutterMode").GetValue();
// Set the shutter mode to rolling
CEnumParameter(nodemap, "ShutterMode").SetValue("Rolling");
// Set the shutter mode to global reset release
CEnumParameter(nodemap, "ShutterMode").SetValue("GlobalResetRelease");
// Determine the current shutter mode
string shutterMode = camera.Parameters[PLCamera.ShutterMode].GetValue();
// Set the shutter mode to rolling
camera.Parameters[PLCamera.ShutterMode].SetValue(PLCamera.ShutterMode.Rolling);
// Set the shutter mode to global reset release
camera.Parameters[PLCamera.ShutterMode].SetValue(PLCamera.ShutterMode.GlobalResetRelease);
size_t len = 0;
char shutterMode_str[64] = {0};
/* Determine the current shutter mode */
len = sizeof(shutterMode_str);
errRes = PylonDeviceFeatureToString(hdev, "ShutterMode", shutterMode_str, &len);
CHECK(errRes);
/* Set the shutter mode to rolling */
errRes = PylonDeviceFeatureFromString(hdev, "ShutterMode", "Rolling");
CHECK(errRes);
/* Set the shutter mode to global reset release */
errRes = PylonDeviceFeatureFromString(hdev, "ShutterMode", "GlobalResetRelease");
CHECK(errRes);
# Determine the current shutter mode
shutterMode = camera.ShutterMode.Value
# Set the shutter mode to rolling
camera.ShutterMode.Value = "Rolling"
# Set the shutter mode to global reset release
camera.ShutterMode.Value = "GlobalResetRelease"

您也可以使用 pylon Viewer 轻松设置参数。