LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to change voltage(output) after 4seconds

I am making a one car garage. So when I want the motor to open the door I give out 4V to the motor through labview. What I want to implement is when it enters the case structure of true(means open the door), it first gives out 4V for 4s and then change the output voltage to 0V so the motor can stop. (Because the angle that a door can open is not infinite) I tried the timer. But if I use a timer, I need it to reset everytime it enters the case(true) structure. But I didn't find how to do that. So right now I don't know how to implement this function. Thank you so much!

 

The attachment is my vi right now.

 

0 Kudos
Message 1 of 2
(2,968 Views)
I would look at a state machine structure. One sequence of states would open, another would close.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,935 Views)