My advice is to leave caching on except and just ask for
/uncached/temperature. That way the location of the chip will be remembered.

On Feb 4, 2011 3:45 PM, "Mick Sulley" <m...@sulley.info> wrote:
> Hi,
>
> I am using pyowfs to read 20 DS1820 temperature sensors and 6 DS2406 I/O
> modules. I want to read fresh data each time so I have set cache off,
> but I want to read several bits of information,
> for DS1820
> id,
> temperature,
> powered,
> for DS2406
> id,
> sensed byte,
> latch byte,
> powered
>
> I assume that this will cause multiple reads from the 1-wire, so for
> DS1820 it will access 1-wire to read id, then access again to read
> temperature then access it again to read the powered bit, and for DS2406
> it will access 4 times.
>
> Is there any way to read all the data from a device in one hit? It is
> currently taking about 25 seconds to get through them all and I would
> like to speed it up.
>
> Thanks
> Mick
>
>
>
------------------------------------------------------------------------------
> The modern datacenter depends on network connectivity to access resources
> and provide services. The best practices for maximizing a physical
server's
> connectivity to a physical network are well understood - see how these
> rules translate into the virtual world?
> http://p.sf.net/sfu/oracle-sfdevnlfb
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to