To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This program uses the DAQmx driver to read data from a DAQ device gathering temperature data, and then programmatically changing the color of a thermometer depending on an alarm level set by the user.
Description:
The purpose of this program is to collect temperature data from a DAQ device, plot the temperature on a chart, and then show the temperature in a thermometer. The fill color of that thermometer is programmatically determined by the temperature that is currently being read by the DAQ device. The user will determine the "alarm level" or the temperature level at which they want the color to change on the thermometer indicating that the temperature data has passed that user defined threshold.
Steps to implement or execute code
To implement this example:
To execute this example:
Requirements
Software
LabVIEW 2012 or compatible
NI-DAQmx 16.0 or compatible
Hardware
cDAQ with C series Analog Input Module
**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.