Input Limits Fault Detection
- Updated2024-10-22
- 1 minute(s) read
Input Limits Fault Detection
The NI-DAQmx input limits fault properties allow you to check for samples that are outside the configurable upper and lower limits for each channel in the task.
The fault detection applies to both positive and negative inputs. For instance, if you specify a lower limit of 2 mA and an upper limit of 12 mA, NI-DAQmx detects a fault at 15 mA and -15 mA, but not at -6 mA because it is in the range of -2 mA to -12 mA.
AI.InputLimitsFaultDetectEnable—Enables input limits fault detection.
AI.InputLimitsFaultDetect.UpperLimit—Specifies the level of the upper limit for input limits detection. An input sample outside the upper and lower bounds causes a fault.
AI.InputLimitsFaultDetect.LowerLimit—Specifies the level of the lower limit for input limits detection. An input sample outside the upper and lower bounds causes a fault.
InputLimitsFaultChansExist—Indicates if the device or devices detected a sample that was outside the upper or lower limits configured for each channel in the task. Reading this property clears the input limits fault channel status for all channels in the task.
InputLimitsFaultChans—Lists the virtual channels that have detected samples beyond the upper or lower limits configured for each channel in the task. You must read InputLimitsFaultChansExist before you read this property.