04-22-2014 02:34 PM
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
04-22-2014 03:33 PM - edited 04-22-2014 03:44 PM
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