Sophana,

First, I drive my sensors from python through owserver, so a simple 
example probably won't help you. I don't think that "on their own 
segment" is enough because the sensor can't know that, but this is 
beyond my level of knowledge about 1-wire.

What I do is set the simultaneous convert and then read the sensors 
sequentially. The master can only do one thing at at time, so I didn't 
see much value in doing any threading for my simple problem. The timing 
definitely shows that they are not doing the conversion at read time. 
It's easy to compare by just skipping the simultaneous and doing the 
sequential read.

I'm running a HVAC system, so readings every 30 seconds is fine. Not 
what I would call a high speed operation.

hope that helps,
jerry

Sophana K wrote:
> Hi
> 
> I made the tests on powered sensors.
> Some other sensors are not powered but they are "alone" on their own
> hub segments.
> You don't need to write to the simultaneous/temperature file?
> Just do parallel access to owserver?
> Or do you do both?
> Can you give an example of access sequence you are doing?
> Does owfs on top of owserver limit parallel access to the values?
> Should I try directly with threads inside my python program to access
> owserver in parallel?
> 
> Thanks
> 
> On Wed, Jan 27, 2010 at 5:10 PM, Jerry Scharf
> <[email protected]> wrote:
>> Sophana,
>>
>> I am sure this works. I have a hub (not a switch) and do simultaneous
>> reads for my 30+ temp sensors. Do you have separate power or are you
>> running in parasitic mode. I am fairly certain you can not do
>> simultaneous reads with parasitic power.
>>
>> jerry
>>
>> Sophana K wrote:
>>> On Mon, Jan 11, 2010 at 4:35 PM, Paul Alfille <[email protected]> 
>>> wrote:
>>>
>>>> It's easy to do if the segments are on different bus masters. Just read in 
>>>> a
>>>> different thread or program since only the bus master is locked. An
>>>> asynchronous read property for temperature is also possible.
>>> I tried this, but it doesn't seem to work.
>>> I made the test through owfs on top of owserver -u with a small script
>>> making simultaneous accesses to different sensors. It is as slow as
>>> reading the sensors sequentialy.
>>> Are you sure about this feature?
>>>
>>> ------------------------------------------------------------------------------
>>> The Planet: dedicated and managed hosting, cloud storage, colocation
>>> Stay online with enterprise data centers and the best network in the 
>>> business
>>> Choose flexible plans and management services without long-term contracts
>>> Personal 24x7 support from experience hosting pros just a phone call away.
>>> http://p.sf.net/sfu/theplanet-com
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>> ------------------------------------------------------------------------------
>> The Planet: dedicated and managed hosting, cloud storage, colocation
>> Stay online with enterprise data centers and the best network in the business
>> Choose flexible plans and management services without long-term contracts
>> Personal 24x7 support from experience hosting pros just a phone call away.
>> http://p.sf.net/sfu/theplanet-com
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
> 
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to