Go to Post I think the best driver team of the post season would be Mike Wade and Pete Baltzell- because they have been driving that NASA field all over the Northeast so all of us can play.Thanks guys!! - Wayne C. [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2012, 15:41
codalafin codalafin is offline
Registered User
FRC #1095
 
Join Date: Feb 2012
Location: Virginia
Posts: 4
codalafin is an unknown quantity at this point
Re: Switch Latching

Okay so I may have found what I need, can't test it at the moment but http://team358.org/files/programming...tonRelease.jpg that node + less than system should work fine. genius design
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2012, 18:45
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,995
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Switch Latching

Maybe this is solved, but what if you stop checking the condition of the switch after it has activated the first time?

Pseudocode:

If SwitchedOn is ON, jump to move_along
.Check switch
.If switch is 1, set SwitchedOn to ON
move_along
...the rest of the code...
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2012, 20:48
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Switch Latching

Quote:
Originally Posted by codalafin View Post
Okay so I may have found what I need, can't test it at the moment but http://team358.org/files/programming...tonRelease.jpg that node + less than system should work fine. genius design
That's exactly what you want. I've made teeny little SubVIs that just take a boolean input and do the feedback node/comparison step, calling them "RisingEdge" and "FallingEdge". Their icons are very small.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi