Hi, guys.
I have a program to measure a new radio phone system. It makes 14 test cases for different temperatures and voltages. It can take more than a full day to complete a whole measurement, and at the end the excel result workbook is sent by email. Until here, everithing ok.
The problem is that sometimes the program crashes, and I would like to implement a watchdog error to take care about it, and send an email to the tester (who can be in another room, like is the case) reporting about it. Otherwise, it can be that the program had crashed, and when u go to pick up the results, the measurement hasn´t run completely.
To be more clear, I attach a simple example of the code. The error comes out in "tune_tu_freq.vi". From there, how to abort the execution (it becames infinite with the error) and call a user event in "main.vi" and sent the mail?
I have seen a lot of examples for User Event, but no one looks to fit my problem.
Thanks in advance to everybody.