On 6/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I've only been playing with owfs for about two days: I hadn't yet found 'uncached' in the documentation. That sounds like it'll do what I need.
You're right! I quickly looked through the documentation, thinking "that can't be right..." but it is. I'll add something in the next week or so. (Documenting clearly is hard!) Having a cache system for concurrent access is a very cool idea.
That's something I'm trying to figure out right now. Obviously a furnace full of molten glass is going to be seeing degree-per-hour changes at max, but an annealing oven has a door covering one whole side open every five minutes, with drops of fifty degrees per second or so. What I'd like is to find the limits of the system and do what I can with those, and that'll let me decide which hardware I can keep using and which needs to be upgraded. I built a fancy megahertz-capable dedicated thermocouple amplifier and A/D converter but it's a pain to debug and develop for, whereas OWFS is quick, so until I have all my other problems hammered into shape, OWFS is great for prototyping.
There are thermocouple designs based on OWFS (specifically some of the DS276X battery chips). They use the current sensors and internal temperature sensing for cold junction correction. OWFS supports about thermocouples well http://www.owfs.org/index.php?page=thermocouples and the function has been well tested.
The software is C; I'm using fopen and fscanf to>> acquire the contents of /mnt/.../temperature and work with the results. > > You might want to use one of the provided libraries instead. > It's much faster and depends on fewer pieces of software you might not > really need, or want, in a production environment. This will never be production-worthy: it's purely for my own projects. With that said, I'll look into the provided libraries. All I really need, though, is the temp value, so reading the text file containing it seems pretty straightforward, though I'm always open to better ways of doing things. I apologize for taking up time on a development list, for applications questions, but appreciate the advice from both respondents. The development list is the perfect place for these discussions.
Thank you for posting your application. Paul Alfille
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
