To get a proper answer to that question you will have ask Paul Afille.
But my understanding is that owfs remembers that it recently has issued
a skip rom command.
H
2013-10-10 22:08, Colin Reese skrev:
> That was my question. my understanding was that when I execute the
> read of the file, the read is performed. How does owfs know the
> registers have been updated 'recently enough' by the simultaneous
> command, rather than performing the read when I read the temperature file?
>
>
> On Thu, Oct 10, 2013 at 1:04 PM, Håkan Elmqvist <hak...@smeden.org
> <mailto:hak...@smeden.org>> wrote:
>
> Yes, it does, a simple read of the temperature registers, that
> just have been updated by the write to
> /ow/simultaneous/temperature if that was your question otherwise
> the little * does the globbing for us.
> 2013-10-10 18:39, Colin Reese skrev:
>> doesn't 'cat /ow/10.*/temperature' initiate a simple read?
>>
>> Colin
>>
>>
>>
>> On Thu, Oct 10, 2013 at 9:25 AM, Håkan Elmqvist
>> <hak...@smeden.org <mailto:hak...@smeden.org>> wrote:
>>
>> And here is the result for 12 DS1820:
>> root@hemx:~# echo 1 >/ow/simultaneous/temperature; time
>> (sleep 1; cat
>> /ow/10.*/temperature;)
>> 23.5 23.3125 23.375 23.5 23.25
>> 23.5
>> 23.375 23.375 23.5 23.5 23.5625
>> 23.375
>> real 0m1.944s
>> user 0m0.000s
>> sys 0m0.000s
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application
>> performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more.
>> Get the most from
>> the latest Intel processors and coprocessors. See abstracts
>> and register >
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> <mailto:Owfs-developers@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
> --
> Håkan Elmqvist
> Sunnerdahlsv 7
> 167 62 Bromma
> Telefon: +46 (8) 80 18 81 <tel:%2B46%20%288%29%2080%2018%2081>, +46 (704)
> 56 74 81 <tel:%2B46%20%28704%29%2056%2074%2081>, +46 (176) 84 077
> <tel:%2B46%20%28176%29%2084%20077>
> epost: hak...@smeden.org <mailto:hak...@smeden.org>
>
>
--
Håkan Elmqvist
Sunnerdahlsv 7
167 62 Bromma
Telefon: +46 (8) 80 18 81, +46 (704) 56 74 81, +46 (176) 84 077
epost: hak...@smeden.org
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers