Sensor Shutter Mode#
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.
该功能的使用#
Changing the Sensor Shutter Mode#
To change the shutter mode, set the ShutterMode
parameter to one of the following values:
Global
: The camera operates as a global shutter camera.Rolling
: The camera operates as a rolling shutter camera.GlobalResetRelease
: The camera operates as a Global Reset Release shutter camera.
附加参数#
On acA2500-14gm/gc and acA1920-25gm/gc cameras, the GlobalResetReleaseModeEnable
parameter is available.
- If you set the parameter to
true
, the camera sets theShutterMode
parameter toGlobalResetRelease
and operates as a Global Reset Release shutter camera. - If you set the parameter to
false
, the camera sets theShutterMode
parameter toRolling
and operates as a rolling shutter camera.
详情#
相机型号 | 可用快门模式 |
---|---|
a2A1920-51gcBAS | 不支持的功能 |
a2A1920-51gcPRO | 不支持的功能 |
a2A1920-51gmBAS | 不支持的功能 |
a2A1920-51gmPRO | 不支持的功能 |
a2A1920-160ucBAS | 不支持的功能 |
a2A1920-160ucPRO | 不支持的功能 |
a2A1920-160umBAS | 不支持的功能 |
a2A1920-160umPRO | 不支持的功能 |
a2A2590-22gcBAS | 不支持的功能 |
a2A2590-22gcPRO | 不支持的功能 |
a2A2590-22gmBAS | 不支持的功能 |
a2A2590-22gmPRO | 不支持的功能 |
a2A2590-60ucBAS | 不支持的功能 |
a2A2590-60ucPRO | 不支持的功能 |
a2A2590-60umBAS | 不支持的功能 |
a2A2590-60umPRO | 不支持的功能 |
a2A3840-13gcBAS | 不支持的功能 |
a2A3840-13gcPRO | 不支持的功能 |
a2A3840-13gmBAS | 不支持的功能 |
a2A3840-13gmPRO | 不支持的功能 |
a2A3840-45ucBAS | 不支持的功能 |
a2A3840-45ucPRO | 不支持的功能 |
a2A3840-45umBAS | 不支持的功能 |
a2A3840-45umPRO | 不支持的功能 |
a2A4504-5gcBAS | 不支持的功能 |
a2A4504-5gcPRO | 不支持的功能 |
a2A4504-5gmBAS | 不支持的功能 |
a2A4504-5gmPRO | 不支持的功能 |
a2A4504-18ucBAS | 不支持的功能 |
a2A4504-18ucPRO | 不支持的功能 |
a2A4504-18umBAS | 不支持的功能 |
a2A4504-18umPRO | 不支持的功能 |
a2A5320-7gcBAS | 不支持的功能 |
a2A5320-7gcPRO | 不支持的功能 |
a2A5320-7gmBAS | 不支持的功能 |
a2A5320-7gmPRO | 不支持的功能 |
a2A5320-23ucBAS | 不支持的功能 |
a2A5320-23ucPRO | 不支持的功能 |
a2A5320-23umBAS | 不支持的功能 |
a2A5320-23umPRO | 不支持的功能 |
a2A5328-4gcBAS | 不支持的功能 |
a2A5328-4gcPRO | 不支持的功能 |
a2A5328-4gmBAS | 不支持的功能 |
a2A5328-4gmPRO | 不支持的功能 |
a2A5328-15ucBAS | 不支持的功能 |
a2A5328-15ucPRO | 不支持的功能 |
a2A5328-15umBAS | 不支持的功能 |
a2A5328-15umPRO | 不支持的功能 |
acA640-90gc | 不支持的功能 |
acA640-90gm | 不支持的功能 |
acA640-90uc | 不支持的功能 |
acA640-90um | 不支持的功能 |
acA640-120gc | 不支持的功能 |
acA640-120gm | 不支持的功能 |
acA640-120uc | 不支持的功能 |
acA640-120um | 不支持的功能 |
acA640-121gm | 不支持的功能 |
acA640-300gc | 不支持的功能 |
acA640-300gm | 不支持的功能 |
acA640-750uc | 不支持的功能 |
acA640-750um | 不支持的功能 |
acA720-290gc | 不支持的功能 |
acA720-290gm | 不支持的功能 |
acA720-520uc | 不支持的功能 |
acA720-520um | 不支持的功能 |
acA780-75gc | 不支持的功能 |
acA780-75gm | 不支持的功能 |
acA800-200gc | 不支持的功能 |
acA800-200gm | 不支持的功能 |
acA800-510uc | 不支持的功能 |
acA800-510um | 不支持的功能 |
acA1280-60gc | 不支持的功能 |
acA1280-60gm | 不支持的功能 |
acA1300-22gc | 不支持的功能 |
acA1300-22gm | 不支持的功能 |
acA1300-30gc | 不支持的功能 |
acA1300-30gm | 不支持的功能 |
acA1300-30uc | 不支持的功能 |
acA1300-30um | 不支持的功能 |
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-20gm | 不支持的功能 |
acA1600-20uc | 不支持的功能 |
acA1600-20um | 不支持的功能 |
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-50gmNIR | 不支持的功能 |
acA2000-165uc | 不支持的功能 |
acA2000-165um | 不支持的功能 |
acA2000-165umNIR | 不支持的功能 |
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 | 不支持的功能 |
acA4600-7gc | 滚动 全局重置释放 |
acA4600-10uc | 滚动 全局重置释放 |
acA5472-5gc | 滚动 全局重置释放 |
acA5472-5gm | 滚动 全局重置释放 |
acA5472-17uc | 滚动 全局重置释放 |
acA5472-17ucMED | 滚动 全局重置释放 |
acA5472-17um | 滚动 全局重置释放 |
acA5472-17umMED | 滚动 全局重置释放 |
boA4096-93cc | 不支持的功能 |
boA4096-93cm | 不支持的功能 |
boA4112-68cc | 不支持的功能 |
boA4112-68cm | 不支持的功能 |
boA4500-45cc | 不支持的功能 |
boA4500-45cm | 不支持的功能 |
boA6500-36cc | 不支持的功能 |
boA6500-36cm | 不支持的功能 |
boA8100-16cc | 不支持的功能 |
boA8100-16cm | 不支持的功能 |
daA1280-54lc | 不支持的功能 |
daA1280-54lm | 不支持的功能 |
daA1280-54uc | 不支持的功能 |
daA1280-54um | 不支持的功能 |
daA1600-60lc | 不支持的功能 |
daA1600-60lm | 不支持的功能 |
daA1600-60uc | 不支持的功能 |
daA1600-60um | 不支持的功能 |
daA1920-15um | 滚动 全局重置释放 |
daA1920-30uc | 滚动 全局重置释放 |
daA1920-30um | 滚动 全局重置释放 |
daA1920-160uc | 不支持的功能 |
daA1920-160um | 不支持的功能 |
daA2500-14lc | 滚动 全局重置释放 |
daA2500-14lm | 滚动 全局重置释放 |
daA2500-14uc | 滚动 全局重置释放 |
daA2500-14um | 滚动 全局重置释放 |
daA3840-45uc | 不支持的功能 |
daA3840-45um | 不支持的功能 |
puA1280-54uc | 不支持的功能 |
puA1280-54um | 不支持的功能 |
puA1600-60uc | 不支持的功能 |
puA1600-60um | 不支持的功能 |
puA1920-30uc | 滚动 全局重置释放 |
puA1920-30um | 滚动 全局重置释放 |
puA2500-14uc | 滚动 全局重置释放 |
puA2500-14um | 滚动 全局重置释放 |
示例代码#
ace 2, dart, and pulse Cameras#
// 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 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);
您也可以使用 pylon Viewer 轻松设置参数。