I am new to 1 wire, but not computers and sensors and Linux. I purchased some stuff from Hobby-board and am starting to setup and plan my sensor network.
I setup fuse and owfs to interface the sensor network and I have the serial port interface and the 6 channel hub to power the sensors.
It appears to be working, but my question revolves more around access via owfs. What happens if two seperate processes want to get a reading from the same sensor at about the same time. I bring this up as there appears to be a delay when you open temperature until you get the answer. So it appears that OWFS actually goes out and polls the sensor and returns the current reading. That takes a long time(in cpu cycles). And what happens when a second process asks the same question?
I am working with Perl and open a filehandle to read the sensor. So I can certainly see where a second read could take place before the first one is complete. So what happens to the second request?
Thanks,
Lyle
I setup fuse and owfs to interface the sensor network and I have the serial port interface and the 6 channel hub to power the sensors.
It appears to be working, but my question revolves more around access via owfs. What happens if two seperate processes want to get a reading from the same sensor at about the same time. I bring this up as there appears to be a delay when you open temperature until you get the answer. So it appears that OWFS actually goes out and polls the sensor and returns the current reading. That takes a long time(in cpu cycles). And what happens when a second process asks the same question?
I am working with Perl and open a filehandle to read the sensor. So I can certainly see where a second read could take place before the first one is complete. So what happens to the second request?
Thanks,
Lyle