Am 04.11.2015 um 12:32 schrieb Martin Patzak (GMX):
> 
> while further investigating the problem it looks like this:
> 
> the value of sensed.BYTE toggles between *55* (00110111) and *183*
> (10110111) for quite a while - so its only flipping one bit.
> 
> When I increase the toggling speed, I can provoke my *553* error from
> *sensed.BYTE* from once a day to several times a minute.
> 
> It looks like reading the owfs-file *sensed.BYTE* in python 2.7 is not
> an atomic function!?!
> 
> Any thoughts?
> 
That doesn't mean the function is non-atomic but it means a
copy-to-buffer operation is broken, as it doesn't add the required \0 to
the "55" string.

Which python binding to you use? Do you

        import ow

or

        import ownet

?

Kind regards

        Jan



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

Reply via email to