2011/10/10 Viesturs Lācis <[email protected]>:

> What can potentially be wrong?

It might be a race condition, that program.run fails if mode is not auto.

I have been playing around, and if you net halui.mode.is-auto to
halui.program.run (and make sure that the pin is on a momentary
button, or wired through a oneshot) then it seems to run reliably
simply by setting mode.auto
I have found an unexpected side-effect that the program auto-runs if
you press "reload" which might not be as-desired..

You might be able to use two one-shot components, one triggering
mode.auto from the button, and the second triggering from the falling
edge of the first and with the output setting program.run.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to