Defines which user set has to be loaded and enabled by default when the device is reset.
|
If "Default" is selected, the camera will boot with the default settings and makes sure that the continuous acquisition is ready to be used. |
Name |
UserSetDefault |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
- |
Visibility |
Beginner |
Values |
Default HighSpeed Linescan LinescanHighSpeed LongExposure UserSet0 UserSet1 |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•Default: The user set "Default" is loaded and enabled when the device is reset.
•HighSpeed: The user set "HighSpeed" is loaded and enabled when the device is reset.
•Linescan: The user set "Linescan" is loaded and enabled when the device is reset.
•LinescanHighSpeed: The user set "LinescanHighSpeed" is loaded and enabled when the device is reset.
•LongExposure: The user set "LongExposure" is loaded and enabled when the device is reset.
•UserSet0: The user set "UserSet0" is loaded and enabled when the device is reset.
•UserSet1: The user set "UserSet1" is loaded and enabled when the device is reset.
Code example
C++
// Determine the current entry of UserSetDefault
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("UserSetDefault")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of UserSetDefault
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("UserSetDefault")->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);
}
}
// Set UserSetDefault to "Default"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("UserSetDefault")->SetCurrentEntry("Default");
C#
// Determine the current entry of UserSetDefault
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("UserSetDefault").CurrentEntry().SymbolicValue();
// Get a list of all available entries of UserSetDefault
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("UserSetDefault").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());
}
}
// Set UserSetDefault to "Default"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("UserSetDefault").SetCurrentEntry("Default");
Python
# Determine the current entry of UserSetDefault (str)
value = nodeMapRemoteDevice.FindNode("UserSetDefault").CurrentEntry().SymbolicValue()
# Get a list of all available entries of UserSetDefault
allEntries = nodeMapRemoteDevice.FindNode("UserSetDefault").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())
# Set UserSetDefault to "Default" (str)
nodeMapRemoteDevice.FindNode("UserSetDefault").SetCurrentEntry("Default")