Rob Conway wrote:
In an attempt to optimise the 1wire communications can you comment on
the following:
*Reading data*
My current requirment is to read the volts every two minutes (although
would like it faster especially when I get my weather station) from all
channels of 2 x DS2450 (A/D), te
On 11/5/06, Serg Oskin <[EMAIL PROTECTED]> wrote:
Rob Conway wrote:> In an attempt to optimise the 1wire communications can you comment on> the following:>> *Reading data*> My current requirment is to read the volts every two minutes (although
> would like it faster especially when I get my weather
1. Release 2.5p5 had a problem where a bad path (parsing ok, but not the correct type) in one of the owshell programs could crash owserver. That is fixed in 2.5p6 which will be released very soon.2. The fact that going into the background gived problems with "reconnecting" suggests that there is so
Serg & Paul,
I use powered devices so I have updated my script
to set simultaneous/voltage and temp to 1 then read all device data out
of cached data. crontab was also starting a rrdtool trend script at
the same time as my 1wire read script. It seemed to work OK however I put
a sleep in
It starts procedure "convert" on all devices on the bus - hence it actually
only
for values volt* and temp*.
While read from simultaneous/volt value "1" (time of it is set by
cache-options)
procedure "convert" is not started at data reading from device/volt*. Here an
example of my script for t
On version CVS 2006.11.03 I received similar problems: crashed owserver and is
possible deadlock at the simultaneous access of several programs to one device.
SEGFLT at execution "free(db->snlist)" in DirblobClear and at execution
"free(pn->path)" in FS_ParsedName_destroy.
I have postponed detai
Simultaneous uses a known "trick" of the 1-wire system.
Normally you address a specific device before sending a command. All the other devices drop off and stop listening.
If there is only one device on the bus, you can use the special 0x33 command that addresses it.
The convert command for tempe