LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

watchdog for error / pdf compatibility?

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.

So, for example, if the program is in a subVI tryng to change the radio frequency, inside of a for-loop of the main program, how can I do to get out, if either the subVI and the for-loop hadn´t finished? Is there any function for it? And in which way should I call automatically the other function to send the mail?

And, by the way, another question: is possible to open a pdf file with LabView (like datasheet or a help file to use the program).

Thanks in advance.

Best regards,

G. Ferris
0 Kudos
Message 1 of 2
(2,428 Views)
If I correctly understood your question, you need to create a user event.
The event can be raised everywhere in your code, triggering the execution of custom code in an event structure.
Check the documentation for User Events, Event-Driven Programming and so on.

As for the pdf, you can open it for viewing with System Exec.vi, with a command line like:
...Acrobat Reader path..\Acrord32 ...file path...\filename.pdf

Hope this helps

Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 2
(2,420 Views)