LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulation of Temperature Sensor

Solved!
Go to solution

Hello

 

I have problems with the logic of making Simulation Of Temperature

So the problem is that when someone enter in the interface wanted tempreture to make comparison if the water is hot/normal or cold, so if the temp is low the heating system to start

if the temp is very high the heating system to come in cooling

 

this is my work by now

comp.png

0 Kudos
Message 1 of 5
(2,606 Views)

Maybe you can expand on your "problem" because your code seems to be working, other than sucking up all the available CPU power. (IE put a wait in your while loop)

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 2 of 5
(2,597 Views)
Solution
Accepted by xPG
  • If the temperature is exactly 40 or 72, more than one LED will come on. Is that really what you want?
  • Do you want to interface to a real heating/cooling system or simulate one?
  • There is no control for "wanted temperature", just something named "slide".
  • You also need an indicator for the actual temperature and decide how it should react to heating or cooling. Often the actual temperature is different to the wanted temperature.
  • Yes, it seems overkill to spin that loop millions of times per second. Temperatures don't change that quickly.

If this is homework, maybe ask the teacher?

0 Kudos
Message 3 of 5
(2,586 Views)

* I added 2 more LEDs/And indicator

* I want to be simulated

* Removed loop

*

0 Kudos
Message 4 of 5
(2,563 Views)

@xPG wrote:

* I added 2 more LEDs/And indicator

* I want to be simulated

* Removed loop

*


Your post does not contain any useful information. Which loop did you remove and why? Is the problem solved or do you still need help?

0 Kudos
Message 5 of 5
(2,542 Views)