IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Sets the exposure mode automatically depending on the trigger mode.
Name |
ExposureMode |
Category |
|
Interface |
Enumeration |
Access |
Read |
Unit |
- |
Visibility |
Beginner |
Values |
Timed |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
Values description
•Timed: Timed exposure. The exposure time is set using the ExposureTime or ExposureAuto features. The exposure starts with the "ExposureStart"or "LineStart" trigger signal.
•TriggerControlled: Uses one or more trigger signals to control the exposure. See "ExposureStart" and "ExposureEnd" of the TriggerSelector feature as well as TriggerControlledExposureTimeMax and TriggerControlledExposureTimeMin. This feature is only supported by uEye+ cameras (GV and U3 models).
Code example
C++
// Determine the current entry of ExposureMode
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ExposureMode")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of ExposureMode
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ExposureMode")->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 ExposureMode
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ExposureMode").CurrentEntry().SymbolicValue();
// Get a list of all available entries of ExposureMode
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ExposureMode").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 ExposureMode (str)
value = nodeMapRemoteDevice.FindNode("ExposureMode").CurrentEntry().SymbolicValue()
# Get a list of all available entries of ExposureMode
allEntries = nodeMapRemoteDevice.FindNode("ExposureMode").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())