LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

set up a Max and Min value to turn on a pump...

Hi, I started to play with my arduino and labview program since a couple of weeks. I managed to read and log my analog signal on my computer but now it is getting more difficult.

I will add a (Max & Min) value into my program to turn on a pump (digital on) depends on my analog value from my sensor? I also want to have 2... repeated cycles for my program.

Let's say:

1- start the program the pump goes on

     the value is increasing to 50 (Max)

2- the pump stopped

     the value decreases to 10 (Min) 

3- the pump goes on again to value 50 (Max)

4- repeat the cycle 2 or 3 times

Can someone help me to run the program or give me some hints.

I'm more than happy over every comment.

Regards, Markus

0 Kudos
Message 1 of 2
(3,562 Views)

The overall system that you describe can be done with a state machine.  It looks like you are trying to implement an on/off controller so that is something you might consider looking up.

0 Kudos
Message 2 of 2
(3,072 Views)