There is a directory called "simultaneous" if there are devices in the directory
that support the "convert all" command.

A command like `echo "1" > 1wire/simultaneous/temperature` will initiate
temperature conversion. You can then attempt to read the temperatures, perhaps
with `cat 1wire\*\temperature` and after the requisite delay for the first, all
the temperatures will be available until they time out.

Paul



-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Mark Richards
Sent: Sat 1/7/2006 2:32 PM
To: [email protected]
Subject: [Owfs-developers] Simultaneous converts
 
Paul,

You've mentioned, in another context, sending T_Convert to all sensors (that
the command is appropriate for) and then doing register reads on each -
which makes sense as a performance improver.

Is there an example of this method that you can share - or point me to where
I might find it in your code?  I've got something working, but if you've
already been there and done that... :)

/mark richards



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

<<winmail.dat>>

Reply via email to