LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to control a motor and a bobbin please ?

Good evening,

please i'm a beginner in LabVIEW and i can't find a solution to my problem, i just want to use the function write daq (digital output) to active a bobin and a motor using a pushboton,and when I let the buton the bobbin stop but the motor still working for an amount of time that i predefined. I made many essay but i can't find the right way. I attached to my post a picture of the code

0 Kudos
Message 1 of 2
(2,048 Views)

think about the boolean logic needed here and the values you want to hold in a shift register when an action occurs...i.e "push button", "timed elapsed"

 

you have the right components needed in your loop (shift register, bool logic, elapsed timer), take a closer look at your bool logic and how to reset the "elapsed timer" to execute after the release of your "push button" and when the time has elapsed what action is needed to stop the motor and reset the timer.this will be your hardest hurdle....after that, implementing the Daq is cake walk  Smiley Wink

Message 2 of 2
(2,009 Views)