Re: [Owfs-developers] questions about owpython and owfs

2009-10-20 Thread Marcus Priesch
Am Montag, den 19.10.2009, 18:35 -0400 schrieb Paul Alfille: I love a patch! Does it correct your hardware problem? definitely it improves the situation ! i am now running with 1,8,3 for slewrate, w1l, dso set in my pathon app as i mentioned some postings ago. i am able to communicate with

Re: [Owfs-developers] questions about owpython and owfs

2009-10-19 Thread Marcus Priesch
Hi paul, i was off-duty for the past few days, checked your change today, but no luck at all ... according to debug message from USB_Control_Msg the values now get transferred after changing them - i see this as a huge part of the patch - but the values set are always the start up (==default)

Re: [Owfs-developers] questions about owpython and owfs

2009-10-19 Thread Marcus Priesch
Dear Paul, dear list, i finally came up with a patch (against current HEAD) which doesn't overwrite the changed settings with the default ones ... please review and merge into HEAD - as i am not 100% sure if the call to DS9490_SetFlexParameters () is in the correct place ... ;) thanks, marcus.

Re: [Owfs-developers] questions about owpython and owfs

2009-10-19 Thread Paul Alfille
I love a patch! Does it correct your hardware problem? Paul On Mon, Oct 19, 2009 at 2:53 PM, Marcus Priesch mar...@priesch.priv.atwrote: Dear Paul, dear list, i finally came up with a patch (against current HEAD) which doesn't overwrite the changed settings with the default ones ...

Re: [Owfs-developers] questions about owpython and owfs

2009-10-13 Thread Pascal Baerten
From my experience, I'm successfully operating three ds18b20, two ds2413, one ds2406 at the far end of my garden on a 120 meters branch using CAT5 cable. However, parastatic devices where quite unreliable until I added a line termination as shown in AN132, pg 5, Figure 5.

Re: [Owfs-developers] questions about owpython and owfs

2009-10-13 Thread Marcus Priesch
Dear pascal, dear paul, thanks for your answers, after another day of measuring and fiddling around i proceeded some steps further: adding the add-on circuit for long lines i managed to get communication with 4 sensors, thats a total of 75 meters with my current configuration - i managed to

Re: [Owfs-developers] questions about owpython and owfs

2009-10-13 Thread Marcus Priesch
Thanks for the answer ! paul, is it possible to modify these settings from within python ?!?! if not, then i'll have to rewrite my 1wire stuff ... regards, marcus. Am Dienstag, den 13.10.2009, 14:03 -0400 schrieb Paul Alfille: I'll look a little closer, but it appears we're overwriting those

Re: [Owfs-developers] questions about owpython and owfs

2009-10-13 Thread Marcus Priesch
Yup, i found it already ... import ow ow.init (u) ow.owfs_get (/bus.0/interface/settings/usb/datasampleoffset) ' 7' ow.owfs_put (/bus.0/interface/settings/usb/datasampleoffset,8) 0 ow.owfs_get (/bus.0/interface/settings/usb/datasampleoffset) ' 8' that should do it ;)

Re: [Owfs-developers] questions about owpython and owfs

2009-10-13 Thread Paul Alfille
The CVS repository has the corrections. They will b in the next release -- this weekend. Paul Alfille On Tue, Oct 13, 2009 at 3:55 PM, Marcus Priesch mar...@priesch.priv.atwrote: Yup, i found it already ... import ow ow.init (u) ow.owfs_get

[Owfs-developers] questions about owpython and owfs

2009-10-12 Thread Marcus Priesch
Dear owfs-developers ... thanks for the great work, i am using owfs for quite some years for my heating controller and it works perfectly !!! although currently i have some difficulties ... which i was not able to get rid of and thats the reason why i am posting here ... in my current project

Re: [Owfs-developers] questions about owpython and owfs

2009-10-12 Thread Paul Alfille
Thank you, Marcus, for your kind words. In truth, I've never had a reason to alter the slew rate, and so can't claim that code path is well tested. This may be a good opportunity. I presume you are choosing a slewrate of 0 to 7. From module/owlib/src/c/ow_interface.c: /* * Value is between 0