Host Engineering Forum

General Category => General Discussion => Topic started by: jrayb on January 25, 2021, 12:20:00 AM

Title: Data logging question
Post by: jrayb on January 25, 2021, 12:20:00 AM
What would be the easiest way to log data for each day of the month & then send that collected data each month? I know that I will need separte memory blocks. I just don't know how to make sure that the data collected each day will be stored & then sent each month.
Title: Re: Data logging question
Post by: BobO on January 25, 2021, 01:02:49 PM
What would be the easiest way to log data for each day of the month & then send that collected data each month? I know that I will need separte memory blocks. I just don't know how to make sure that the data collected each day will be stored & then sent each month.

I'd use the FILELOG instruction to log the data and the FTPPUT instruction to send files to a server.
Title: Re: Data logging question
Post by: jrayb on January 25, 2021, 01:08:04 PM
Bob, let me expand on what i would like to do. i would like to record 12 values each day. then store those values to their own memory blocks. Then on the 1st day of the next month, have those values emailed to me. I cannot stream to a server as i'm using a VPN & that would eat up too much data.
Title: Re: Data logging question
Post by: BobO on January 25, 2021, 01:12:04 PM
Bob, let me expand on what i would like to do. i would like to record 12 values each day. then store those values to their own memory blocks. Then on the 1st day of the next month, have those values emailed to me. I cannot stream to a server as i'm using a VPN & that would eat up too much data.

FILELOG logs to the SdCard. EMAIL can send and delete the file. FTPPUT can also.