Enables the line noise filter on the line selected by the LineSelector.
Name |
LineNoiseFilterEnable[LineSelector] |
Category |
|
Interface |
Boolean |
Access |
Read/Write |
Unit |
- |
Visibility |
Guru |
Values |
True False |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•True: The noise filter is active. Input signal pulses shorter than the LineNoiseFilterDuration are suppressed.
•False: The noise filter is inactive. No input signals are filtered.
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 LineNoiseFilterEnable, make sure LineSelector is set correctly
// Set LineSelector to "Line0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("LineSelector")->SetCurrentEntry("Line0");
// Determine the current status of LineNoiseFilterEnable
bool value = nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("LineNoiseFilterEnable")->Value();
// Set LineNoiseFilterEnable to false
nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("LineNoiseFilterEnable")->SetValue(false);
C#
// Before accessing LineNoiseFilterEnable, make sure LineSelector is set correctly
// Set LineSelector to "Line0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("LineSelector").SetCurrentEntry("Line0");
// Determine the current status of LineNoiseFilterEnable
bool value = nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("LineNoiseFilterEnable").Value();
// Set LineNoiseFilterEnable to false
nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("LineNoiseFilterEnable").SetValue(false);
Python
# Before accessing LineNoiseFilterEnable, make sure LineSelector is set correctly
# Set LineSelector to "Line0" (str)
nodeMapRemoteDevice.FindNode("LineSelector").SetCurrentEntry("Line0")
# Determine the current status of LineNoiseFilterEnable (bool)
value = nodeMapRemoteDevice.FindNode("LineNoiseFilterEnable").Value()
# Set LineNoiseFilterEnable to false (bool)
nodeMapRemoteDevice.FindNode("LineNoiseFilterEnable").SetValue(False)