The Sensor Shutter Mode camera feature allows you to change the operating mode of the camera's electronic shutter.
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.
On acA2500-14gm/gc and acA1920-25gm/gc cameras, the GlobalResetReleaseModeEnable parameter is available.
If you set the parameter to true, the camera sets the ShutterMode parameter to GlobalResetRelease and operates as a Global Reset Release shutter camera.
If you set the parameter to false, the camera sets the ShutterMode parameter to Rolling and operates as a rolling shutter camera.
// Determine the current sensor shutter modeSensorShutterModeEnumsshutterMode=camera.SensorShutterMode.GetValue();// Set the sensor shutter mode to Rollingcamera.SensorShutterMode.SetValue(SensorShutterMode_Rolling);
INodeMap&nodemap=camera.GetNodeMap();// Determine the current sensor shutter modeString_tshutterMode=CEnumParameter(nodemap,"SensorShutterMode").GetValue();// Set the sensor shutter mode to RollingCEnumParameter(nodemap,"SensorShutterMode").SetValue("Rolling");
// Determine the current sensor shutter modestringshutterMode=camera.Parameters[PLCamera.SensorShutterMode].GetValue();// Set the sensor shutter mode to Rollingcamera.Parameters[PLCamera.SensorShutterMode].SetValue(PLCamera.SensorShutterMode.Rolling);
size_tlen=0;charshutterMode_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 modeshutterMode=camera.SensorShutterMode.Value# Set the sensor shutter mode to Rollingcamera.SensorShutterMode.Value="Rolling"
// Determine the current shutter modeShutterModeEnumsshutterMode=camera.ShutterMode.GetValue();// Set the shutter mode to rollingcamera.ShutterMode.SetValue(ShutterMode_Rolling);// Set the shutter mode to global reset releasecamera.ShutterMode.SetValue(ShutterMode_GlobalResetRelease);
INodeMap&nodemap=camera.GetNodeMap();// Determine the current shutter modeString_tshutterMode=CEnumParameter(nodemap,"ShutterMode").GetValue();// Set the shutter mode to rollingCEnumParameter(nodemap,"ShutterMode").SetValue("Rolling");// Set the shutter mode to global reset releaseCEnumParameter(nodemap,"ShutterMode").SetValue("GlobalResetRelease");
// Determine the current shutter modestringshutterMode=camera.Parameters[PLCamera.ShutterMode].GetValue();// Set the shutter mode to rollingcamera.Parameters[PLCamera.ShutterMode].SetValue(PLCamera.ShutterMode.Rolling);// Set the shutter mode to global reset releasecamera.Parameters[PLCamera.ShutterMode].SetValue(PLCamera.ShutterMode.GlobalResetRelease);
size_tlen=0;charshutterMode_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 modeshutterMode=camera.ShutterMode.Value# Set the shutter mode to rollingcamera.ShutterMode.Value="Rolling"# Set the shutter mode to global reset releasecamera.ShutterMode.Value="GlobalResetRelease"