Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Returns the current status of the selected input or output line. The status of the signal is taken after the input LineInverter of the I/O control block.

Name

LineStatus[LineSelector]

Category

DigitalIOControl

Interface

Boolean

Access

Read

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 level of the line signal is HIGH.

False: The level of the line signal is LOW.

Code example

C++

// Before accessing LineStatus, make sure LineSelector is set correctly
// Set LineSelector to "Line0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("LineSelector")->SetCurrentEntry("Line0");
// Determine the current status of LineStatus
bool value = nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("LineStatus")->Value();

C#

// Before accessing LineStatus, make sure LineSelector is set correctly
// Set LineSelector to "Line0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("LineSelector").SetCurrentEntry("Line0");
// Determine the current status of LineStatus
bool value = nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("LineStatus").Value();

Python

# Before accessing LineStatus, make sure LineSelector is set correctly
# Set LineSelector to "Line0" (str)
nodeMapRemoteDevice.FindNode("LineSelector").SetCurrentEntry("Line0")
# Determine the current status of LineStatus (bool)
value = nodeMapRemoteDevice.FindNode("LineStatus").Value()

© 2024 IDS Imaging Development Systems GmbH