Paul,

I would like to +1 this ability. I have a couple buses that have more sensors than I would like because of physical limitations. I have regular stability problems with simultaneous reads. After reading this, I suspect that I am at the limit of the power available on the these buses for simultaneous conversion.

I am making the basic assumption that this is done as an extension of the current simultaneous function. So I do the hand wave and say the set have had their initialization started and then I do standard device reads to collect the data.

My next version of the software looks at sensors in classes and the different classes have different polling intervals. This would fit perfectly into that scheme.

One question I have is about how this works with multiple buses and switches. An innocent set of IDs can produce a very complex underlying set of actions cause the right things to happen. Would this be limited to a single bus? If so, doses the software filter the set against the known devices on the bus?

There are a few issues to work out in doing this. One is how to expose this to owfs. My first thought would be to have a writable file that I would open, write a set of IDs to, then close. Then there would be a bit similar to simultaneous that says do the pattern on the loaded set. You could make the file readable also to see the last loaded set, but from practical software point of view I would always write it and convert it rather than bothering to read and test it.

On the lower level the choice is between having this as a routine or a thread. Since the writes to the bus need to be serialized, I am not sure how much advantage a thread is for doing the initialization loop. My assumption is that the computational time in owserver for doing this are insignificant compares the bus communication time.

jerry

On 07/10/2014 11:09 AM, Colin Reese wrote:
Hello,

After talking with iButtonLink, it was brought to my attention that without
additional power, it is possible to have unsuccessful simultaneous read if
too many sensors are on the network, due to current draw during the
conversion.

Using the TMEX API, I can perform a match ROM and then issue a conversion
command, and then come back later to read the converted value. This way I
can issue conversion commands for, say, 20 ROMs without waiting for
conversion more than once.

Is there an analogous feature in owfs, e.g. a 'simultaneous' with a
specified group of ROMs?

Thanks,
Colin


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft


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

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

Reply via email to