AdvancedHMI Software
General Category => Application Showcase => Topic started by: R5ROUSE on January 14, 2014, 01:40:02 PM
-
Feeling like a total nerd!
Just helped my student created a program in Advanced HMI that loggs data and sends SMS messages if sensors indicate that a process has fallen out of range.
-
May I ask what you used for data logging such as code and or data base you wrote to?
-
sorry that it took so long for me to reply..
I haven't been watching the board too much lately.
basically, add a timer to your form. Then, add datasubscribers for all of the variables that you want to record.
you will then need to write a sub that opens or creates a file and then another sub that writes your data as a stream into a csv file.
I'd give you a code snipet, but I'm at home now and all of that is on my work computer.
If you shoot me an email through the board, I'll respond in more detail.
-
Could you post some of the code? I'm wondering how to log data into a csv file.
-
you will then need to write a sub that opens or creates a file and then another sub that writes your data as a stream into a csv file.
-
What did you use to send the SMS messages from the system running AdvHMI?