IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
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 |
|
Interface |
Boolean |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
True |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
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()