View Single Post
  #14   Spotlight this post!  
Unread 10-02-2010, 15:55
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: LabView question

Quote:
Originally Posted by kws4000 View Post
Omar, I'm not exactly sure how your sample VIs work, except that they do work.
You would only need it if you needed precise timing that repeats each time you press a button.

When you first press a button the VI calculates the release time and stores it in the Feedback Node.
Each time around your outer loop the VI is called and checks if the release time has been passed. If so it set the output to false.

If you press and hold the button or press and quickly release the button, you will always get an active high for the same amount of time defined by release time.
__________________
Omar
Reply With Quote