mltask.c

XidarML client tasks.

int T1820Log( char *cmd, int pri_ret )
A simple demo of a XidarML task object that fires up and logs temperature readings from a DS1820. The original ml.rc command line would have been something like:

spawn t1820log chickencoop tmlq tmlmsg chickencoop /data/temperature 1800

Which means start a task object using function T1820Log() and pass it the command:

chickencoop tmlq tmlmsg chickencoop /data/temperature 1800

Which to T1820Log means to start a task named 'chickencoop' and talk to the task named 'tml' via message queue 'tmlq' and and message mailbox 'tmlmsg', and get data from the 1-Wire device also named 'chickencoop', log the data to the directory '/data/temperature' in file 'chickencoop. And log it every half hour. Source: ../mltask.c.html#TS1820Log

XidarML client tasks.
alphabetic index hierarchy of classes


XIDAR TECHNICS, 3388 STATE RT 370, CATO NY 13033-9716
Copyright © 1996 Eliot W. Dudley All rights reserved.
edudley@servtech.com

Dallas Semiconductor Home Page 1-Wire, DS, DS1820, DS2405, DS2407, DS9097, and MicroLan are trademarks and/or registered trademarks of Dallas Semiconductor

generated by doc++