IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Loads the user set that is specified by UserSetSelector to the camera and activates it.
Name |
UserSetLoad[UserSetSelector] |
Category |
|
Interface |
Command |
Access |
Write |
Unit |
- |
Visibility |
Beginner |
Values |
- |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
The access changes to not-available during an acquisition. The access to user-defined user sets ("UserSet0" and "UserSet1") is only available when camera settings have been saved to the user sets via UserSetSave. |
Code example
C++
// UserSetLoad refers to the entry selected by UserSetSelector
// Set UserSetSelector to "Default"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("UserSetSelector")->SetCurrentEntry("Default");
// Execute UserSetLoad
nodeMapRemoteDevice->FindNode<peak::core::nodes::CommandNode>("UserSetLoad")->Execute();
// Check if the command has finished before you continue (optional)
nodeMapRemoteDevice->FindNode<peak::core::nodes::CommandNode>("UserSetLoad")->WaitUntilDone();
C#
// UserSetLoad refers to the entry selected by UserSetSelector
// Set UserSetSelector to "Default"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("UserSetSelector").SetCurrentEntry("Default");
// Execute UserSetLoad
nodeMapRemoteDevice.FindNode<peak.core.nodes.CommandNode>("UserSetLoad").Execute();
// Check if the command has finished before you continue (optional)
nodeMapRemoteDevice.FindNode<peak.core.nodes.CommandNode>("UserSetLoad").WaitUntilDone();
Python
# UserSetLoad refers to the entry selected by UserSetSelector
# Set UserSetSelector to "Default" (str)
nodeMapRemoteDevice.FindNode("UserSetSelector").SetCurrentEntry("Default")
# Execute UserSetLoad
nodeMapRemoteDevice.FindNode("UserSetLoad").Execute()
# Check if the command has finished before you continue (optional)
nodeMapRemoteDevice.FindNode("UserSetLoad").WaitUntilDone()