IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Controls whether the selected line signal is inverted.
Name |
LineInverter[LineSelector] |
Category |
|
Interface |
Boolean |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
True False |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
Values description
•True: The line signal is inverted.
•False: The line signal is not inverted.
If you use LineInverter and LineNoiseFilterEnable simultaneously, LineInverter is applied to the signal first and then the signal is filtered. |
Code example
C++
// Before accessing LineInverter, make sure LineSelector is set correctly
// Set LineSelector to "Line0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("LineSelector")->SetCurrentEntry("Line0");
// Determine the current status of LineInverter
bool value = nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("LineInverter")->Value();
// Set LineInverter to false
nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("LineInverter")->SetValue(false);
C#
// Before accessing LineInverter, make sure LineSelector is set correctly
// Set LineSelector to "Line0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("LineSelector").SetCurrentEntry("Line0");
// Determine the current status of LineInverter
bool value = nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("LineInverter").Value();
// Set LineInverter to false
nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("LineInverter").SetValue(false);
Python
# Before accessing LineInverter, make sure LineSelector is set correctly
# Set LineSelector to "Line0" (str)
nodeMapRemoteDevice.FindNode("LineSelector").SetCurrentEntry("Line0")
# Determine the current status of LineInverter (bool)
value = nodeMapRemoteDevice.FindNode("LineInverter").Value()
# Set LineInverter to false (bool)
nodeMapRemoteDevice.FindNode("LineInverter").SetValue(False)