> Am 23.02.2014 07:16, schrieb Robin Gilks:
>>
>> No couplers - hanging off the bus are 16x DS2413 switches and 3x DS2438
>> battery monitors which are used for measuring the output of a current
>> transformer and temperature.
>>
> How do you access the onewire, direct to USB-Serial or via the w1 kernel
> driver? The latter uses Search ROM continously to find new chips on the
> bus, which is a very time-consuming operation.

If you look back in the thread you'll see I'm using a USB9097 which is a
ch341 usb/uart and a ds2480b master driver combination. I have a feeling
that even with timeout_volatile set to zero, there is still a bit of
caching going on so I don't read the current sensor in real time but one
read behind. I'll try it this evening with multiple reads to see how long
they take and what values are returned. If my theory is correct then the
first read will be totally wrong!!


-- 
Robin Gilks




------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to