To download NI software, including the products shown below, visit ni.com/downloads.
This example demonstrates how to acquire two channels of data with a digitizer, apply processing, and make one or two channel scalar measurements after the data has been processed
In this example the gain, offset, and thresholds of each channel can be independently configured. The processed data will be displayed on a graph and a scalar measurement will be made on the processed data. The scalar measurement can be configured by the user and the result is displayed in a front panel indicator. The single channel scalar measurements will be made with respect to channel 0 and the two channel scalar measurements will be made based on channel 0 to channel 1.
Steps to Implement or Execute Code
Note: Some measurements require the signal to cross the signal's low, mid and high level references and will result in an error if the condition is not met. Be sure to adjust the parameters in a manner that will allow the driver to make the defined measurement.
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.