And that's easy to do. I database everything immediately including device type and other metadata and separate control scripts act on data, including device presence.
If time response is important, you can insert the response functions into the detect script as well. Read devices, check against Device/Action entries, and execute Actions as desired. C > On Feb 15, 2015, at 12:59 PM, Daniel MacKay <dan...@bonmot.ca> wrote: > > I wasn't sure what Daniel wanted. > > Well, I was hoping that someone would say, "Well, when your application > initializes, you register Subroutine X to be run as soon as something new > appears on the bus." > > And then, when that sub gets called, you check the serial number of the new > thing, if it matches your Uncle Albert's iButton number, you open the door. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers