View Single Post
  Spotlight this post!  
Unread 05-02-2011, 03:02
Acarid Acarid is offline
<3 Nested Clusters
FRC #2521
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Eugene, Oregon
Posts: 10
Acarid is an unknown quantity at this point
Re: turning a push button into a switch

Take a look at this:
http://zone.ni.com/reference/en-XX/h...feedback_node/

When you wire something into a feedback node, it's previous value comes out.
If its previous value is false, and its current value is true, then it was just pressed and you can change states.
This ensures it will only change states once per press.

I attached an example of this here.
Attached Thumbnails
Click image for larger version

Name:	feedbacknode.PNG
Views:	78
Size:	4.2 KB
ID:	9973  
Reply With Quote