View Single Post
  #17   Spotlight this post!  
Unread 21-02-2010, 17:34
masterspy7 masterspy7 is offline
Registered User
FRC #3019
 
Join Date: Feb 2010
Location: Arizona
Posts: 5
masterspy7 is an unknown quantity at this point
Re: LabView question

Omar, I am trying to adapt your hold and release for my teleop program. It is to delay a solenoid firing. The solenoid is usually always true, but when it gets a false value, I want a slight delay in the false getting to the solenoid. (because this false value is also going to another action, and I want that action to complete first).

action A
Action B - solenoid firing

So it would go like this
Solenoid firing
button pressed which activates action A and B
action A completes first
action B completes later because of delay

So since it is going from true to false, it would be the "falling edge", right? So I would wire the boolean into hold and release, but invert it going in so it adapts for the rising edge that yours is built for, right? Then I invert it going out of the hold and release. Will this work for me?

EDIT: Forget the inversion part, I see the VI has the option for falling edge. I will test this out

Last edited by masterspy7 : 21-02-2010 at 17:37.
Reply With Quote