Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

Sets the value of the bit selected by UserOutputSelector.

Name

UserOutputValue[UserOutputSelector]

Category

DigitalIOControl

Interface

Boolean

Access

Read/Write

Unit

-

Visibility

Expert

Values

True
False

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

icon-ui-gige icon-ui-usb2 icon-ui-usb3

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<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);

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)

© 2024 IDS Imaging Development Systems GmbH