02-20-2012 03:36 PM
I have 5 custom io servers: 4 periodic, 1 on input change. I need a background task to check the health of these servers, and if any one stops running, to send an email notification.
anyone have a clean solution? I am fooling around with monitoring of heartbeats & counters, but it's getting complicated.
02-22-2012 08:12 AM
Hello Gretchen,
You may want to take a look at the Simple Process Monitor.vi in the example finder. It is located in Toolkits and Modules>>Datalogging and Superviory Control>>Alarms and Events. It provides examples of how to monitor several deployed variables. Regarding email you will find the VIs in the SMTP Email palette fairly intuitive but there is an example that demonstrates how to use them in the example finder at Communicating with External Applications>>General.
David A
03-06-2012 12:25 PM
Thanks for the info. I had reviewed all of the DSC examples when I first started using the DSC Module. Your suggestion served as a refresher. However, didn't find anything in Simple Monitor that I could use for this purpose. I finally went with checking the timestamp of one shared variable in a library/process, and if it doesn't get updated in a certain number of loop counts, I send an email. (I was already familiar with the email VIs - use them quite extensively, for alarms & whatnot)
I recently discovered the Tag Reader: Get Quality Summary VI. so I might try playing around with that one to see if it will do anything more for me - besides just returning the last timestamp.