Agreed. My code sets simultaneous after reading all the values, then carries on doing all its control stuff, then when it gets back to reading again all the values are there. Having a simultaneous block would just introduce a delay for no benefit.

On 03/02/16 07:00, Johan Ström wrote:
+1, I'm using my 1wire bus for more than temperature sensors, blocking on something that does not need to block would ruin my setup (polling alarms every 0.2s)

On 03/02/16 01:43, Jerry Scharf wrote:
Hi,

This would break my code. I send out simultaneous on each bus I have then come back around and read the values.

jerry

On 02/02/2016 04:06 PM, Stefano Miccoli wrote:

On the contrary a write to /simultaneous/temperature is asynchronous, since it will return *before* data is available. IMHO for consistency also a write to /simultaneous/temperature should *block* until all conversions are performed. I.e. ‘simultaneous’ ops should be synchronous: by doing so there is no need for the 'sleep 1’ before the owread commands.





------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140


_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to