LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a vertical slide with a bolean?

The problem I'm having with this throttle VI (likely due to inexperience) is that all of my operations are happening inside a loop so I'm not sure how to incorporate this VI.  

I have attached my VI.  You'll see in the block diagram my notes on what I want to do.  Basically I'm turning a screw 6 revolutions.  Right now I have it so you can manualy enter a number of turns and it will move to that absolute position.  It would be cool to make that a knob. 

Thanks everyone for help.  I hate being a noob but I am learning more every day thanks to hard work and all the great resources on this site.

 

0 Kudos
Message 11 of 14
(586 Views)

You should really use an event structure. Create an event case for each boolean and place all stuff that should happen at each iteration after the event structure. Have an empty timeout case so that the "always" code executed at regular intervals if you really need that.

Replace the "execute" case with the mouse up case suggested above.

Modify as needed. See how far you get.

0 Kudos
Message 12 of 14
(582 Views)

I got it! 

Thanks for all of your help!  I still don't understand 100% but it works. 

It's great to have access to a wealth of experience.

0 Kudos
Message 13 of 14
(562 Views)
Hi Christian,

Yes you are right. Thank you for your pertinent remark !

0 Kudos
Message 14 of 14
(539 Views)