Yea, we were doing that...We could even read the new voltage and see that it exceeded the alarm threshold, but it didn't alarm.
We were actually trying to do most of this through owperl. We had a loop where we would do the simultaneous->convert about once a second, but devices were pretty much always showing up in alarming even when they were not alarmed. We had the same issue with the temperature sensors (18B20) as the A2D (2450). It works perfectly with the 2406. We spent a couple days on it, then implemented a "software alarming" mechanism where we would just read the voltages (or temperature) and compare to the last logged value, and only pass on if it met our alarm thresholds. --Jim On Fri, Feb 26, 2010 at 2:59 AM, Pascal Baerten <[email protected]> wrote: > Just note that it is not sufficient to poll alarm directory to discover > units with threshold voltages . > The alarm condition is only set after a conversion. You have to trigger this > conversion in you polling loop via a simultaneous command. > > Pascal > > > 2010/2/26 Alessio Sangalli <[email protected]> >> >> On 02/25/2010 04:15 PM, Paul Alfille wrote: >> > When in alarm condition, the device should appear in the /alarm >> > directory. >> > >> > OWFS won't automatically poll the device, you need to do this in your >> > program. (It can be as simple as a shell script with a loop and a >> > "sleep" command). >> >> >> Oh ok this makes sense. >> >> I am actually using owread and owwrite right now in my scripts; I guess >> the syntax will be similar >> >> bye >> as >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Owfs-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > -- > Pascal > www.brain4home.eu > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
