Returns the shutter mode of the camera.
Name |
SensorShutterMode |
Category |
|
Interface |
Enumeration |
Access |
Read(/Write) |
Unit |
- |
Visibility |
Guru |
Values |
Global |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•Global: The shutter opens and closes at the same time for all pixels. All pixels have the same exposure time and the exposure of all pixels starts simultaneously.
•Rolling: The shutter opens and closes sequentially for the pixel lines. All pixels have the same exposure time but the exposure of the pixel lines starts sequentially.
•GlobalReset: The shutter opens at the same time for all pixels but ends in a sequential manner. The exposure of all pixels starts simultaneously but each pixel line has a different exposure time.
Note for U3-368x, U3-388x, and GV-588x You can change the shutter mode (SensorShutterMode) of the camera to "GlobalReset". However, you must first enable the "ExposureStart" trigger (TriggerSelector / TriggerMode) because the GlobalReset function requires the use of an external flash. |
Code example
C++
// Determine the current entry of SensorShutterMode
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("SensorShutterMode")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of SensorShutterMode
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("SensorShutterMode")->Entries();
std::vector<std::shared_ptr<peak::core::nodes::EnumerationEntryNode>> availableEntries;
for(const auto & entry : allEntries)
{
if ((entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotAvailable)
&& (entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotImplemented))
{
availableEntries.emplace_back(entry);
}
}
C#
// Determine the current entry of SensorShutterMode
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("SensorShutterMode").CurrentEntry().SymbolicValue();
// Get a list of all available entries of SensorShutterMode
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("SensorShutterMode").Entries();
List<string> availableEntries = new List<string>();
for(int i = 0; i < allEntries.Count(); ++i)
{
if ((allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotAvailable)
&& (allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotImplemented))
{
availableEntries.Add(allEntries[i].SymbolicValue());
}
}
Python
# Determine the current entry of SensorShutterMode (str)
value = nodeMapRemoteDevice.FindNode("SensorShutterMode").CurrentEntry().SymbolicValue()
# Get a list of all available entries of SensorShutterMode
allEntries = nodeMapRemoteDevice.FindNode("SensorShutterMode").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())