LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview crash notification

Hi,

 

I have a labview application which records various things like room temperature constantly but it keeps crashing. I have no idea about the reason and am trying to fix it. However, in the mean time - is there a way to get labview to email me when it crashes? I just would like to know immediately so that I can turn it back on. This issue as to why it is crashing  I am slowly fixing but if I know it has crashed I can at least turn it back on quickly.

 

Cheers

0 Kudos
Message 1 of 5
(3,190 Views)
Where is the crashing program running? If it's a real-time platform there is a hardware watchdog you can set. Is this an executable? You could create a separate program that does nothing but watch the first program -- but that would be pretty much a waste of time.

LabVIEW doesn't crash a lot and when it does it is usually pretty clear why. Obviously there are exceptions, but your customee would be be better served by you fixing what is broken.

What sort of crashes are you experiencing? What version of LabVIEW?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 5
(3,158 Views)

It is just a computer in the room which has the temperature being monitored. What is an executable?

 

If i made a second programme and labview were to crash then the second programme would crash too surely....

 

I cannot remember what the error is but I will post it next time it occurs. I think it is Labview 15 that we are using.

0 Kudos
Message 3 of 5
(3,129 Views)
OK, before you try to fix anything you need to learn about how to use LabVIEW. There are many tutorials online that you need to go through **first**.

In addition, if you want help fixing this code, post it.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 5
(3,113 Views)
Like mike said we can't do much without code as well as more info about the crash. The next time you get a crash please get a screenshot as well as the zip file that is created and post those.

I am guessing that what mike was suggesting by having another program monitor your application would be to have your app post to a web service or upate some shared variable periodically so that a program running on another computer can make an assumption that it has crashed if it doesn't see an update after a certain period of time. There are a lot of ways to do that but I think that's the basic idea.
Matt J | National Instruments | CLA
0 Kudos
Message 5 of 5
(3,089 Views)