IDS Peak comfortSDK, genericSDK, AFL, ICL, and IPL developer manuals are external documents.
Please contact us if you need these manuals.
Sets the value of the bit selected by UserOutputSelector.
Name |
UserOutputValue[UserOutputSelector] |
Category |
|
Interface |
Boolean |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
True |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
Values description
•True: The value of the bit is set to 1 (True).
•False: The value of the bit is set to 0 (False).
Code example
C++
// Before accessing UserOutputValue, make sure UserOutputSelector is set correctly
// Set UserOutputSelector to "UserOutput0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("UserOutputSelector")->SetCurrentEntry("UserOutput0");
// Determine the current status of UserOutputValue
bool value = nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("UserOutputValue")->Value();
// Set UserOutputValue to false
nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("UserOutputValue")->SetValue(false);
C#
// Before accessing UserOutputValue, make sure UserOutputSelector is set correctly
// Set UserOutputSelector to "UserOutput0"
nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("UserOutputSelector").SetCurrentEntry("UserOutput0");
// Determine the current status of UserOutputValue
bool value = nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.BooleanNode>("UserOutputValue").Value();
// Set UserOutputValue to false
nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.BooleanNode>("UserOutputValue").SetValue(false);
Python
# Before accessing UserOutputValue, make sure UserOutputSelector is set correctly
# Set UserOutputSelector to "UserOutput0" (str)
nodeMapRemoteDevice.FindNode("UserOutputSelector").SetCurrentEntry("UserOutput0")
# Determine the current status of UserOutputValue (bool)
value = nodeMapRemoteDevice.FindNode("UserOutputValue").Value()
# Set UserOutputValue to false (bool)
nodeMapRemoteDevice.FindNode("UserOutputValue").SetValue(False)