Saves the camera parameters into the user defined user set that is specified by UserSetSelector.
Name |
UserSetSave[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. And the access changes to not-available if a predefined user set, e.g. "Default" or "Linescan" is specified by UserSetSelector. |
Code example
C++
// UserSetSave refers to the entry selected by UserSetSelector
// Set UserSetSelector to "UserSet0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("UserSetSelector")->SetCurrentEntry("UserSet0");
// Execute UserSetSave
nodeMapRemoteDevice->FindNode<peak::core::nodes::CommandNode>("UserSetSave")->Execute();
// Check if the command has finished before you continue (optional)
nodeMapRemoteDevice->FindNode<peak::core::nodes::CommandNode>("UserSetSave")->WaitUntilDone();
C#
// UserSetSave refers to the entry selected by UserSetSelector
// Set UserSetSelector to "UserSet0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("UserSetSelector").SetCurrentEntry("UserSet0");
// Execute UserSetSave
nodeMapRemoteDevice.FindNode<peak.core.nodes.CommandNode>("UserSetSave").Execute();
// Check if the command has finished before you continue (optional)
nodeMapRemoteDevice.FindNode<peak.core.nodes.CommandNode>("UserSetSave").WaitUntilDone();
Python
# UserSetSave refers to the entry selected by UserSetSelector
# Set UserSetSelector to "UserSet0" (str)
nodeMapRemoteDevice.FindNode("UserSetSelector").SetCurrentEntry("UserSet0")
# Execute UserSetSave
nodeMapRemoteDevice.FindNode("UserSetSave").Execute()
# Check if the command has finished before you continue (optional)
nodeMapRemoteDevice.FindNode("UserSetSave").WaitUntilDone()