Example Code

Dynamically giving input to a thermometer

Code and Documents

Attachment

Download All

Overview
This example VI show you a thermometer which can display the result in different way based on the input value.

 


Description
This VI is a thermometer which can display the input temperature value in different controllers. Depending on the value you input, different Boolean controller having different color will appear to give the tips. Because of using the while loop, so you can change the input at anytime.

 


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Download the attached folder to your computer
  2. Open the VI "Thermometer 2012 NIVerified.vi"
  3. Run the program
  4. Input the value in the "TEMP INPUT Controller"

 

Additional Information or References
VI Snippet

 Block Diagram.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
danil33
Active Participant
Active Participant
on

We tried to give temperature input from an external device by serial portreading using an USB.But tried by manually giving input to thermometer for study and the system worked.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)