LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Synchronising loops for presenting data from Arduino

Hi, i am a LabVIEW noob. To learn a bit about LabVIEW i have been given an Arduino with a temp, humid, and pressure sensor attached to it so i can play with a LabVIEW VI to test data presentation. I wanted a one button dialog to appear when the temperature gets above a certain level but to then not appear again until the temperature drops back down. this is my attempt in the photo for the true and false case. The loops run separately fine but when i combine them, the VI no longer displays temperatures 😞 any suggestions?

0 Kudos
Message 1 of 3
(241 Views)
I see no pic.
could be very useful to post also your VI.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
21st November 1905: E=mc² → and Physics would never be the same again...
0 Kudos
Message 2 of 3
(231 Views)

This sounds like "Homework", which (in general) we should not "do for you", as then how would you learn, and be able to "do for yourself" when the going gets rough?

 

But here is an idea --

  • Your task depends on reading Temperature, and doing "something" when the just-read Temperature is "in some condition".
    • How often do you read the Temperature?
    • Under what condition(s) do you "Do Something"?
    • Does "Doing Something" interact with the first step, "reading Temperature"?
  • Suppose you are in a configuration where the Temperature is "too high".
    • How often do you read the Temperature?
    • Under what condition(s) do you "Do Something"?  Is this the same as in the first case?

Please don't forget to include your existing code by drag-and-drop at the end of your reply -- please do not attach a "picture of LabVIEW code", but rather attach actual VIs.

 

Bob Schor 

0 Kudos
Message 3 of 3
(190 Views)