LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get last error

Recently I got a Serial Device Error from an runnig program. I got a popup window

with two choices: continue or stop. When I pressed the continue button, the program

went on working without any problem. The program was working about 350 hours

before this error occured. I can't remember the error code so I was wondering if

there is a kind of error-logfile in a temp directory to get the exact error code.

0 Kudos
Message 1 of 4
(2,330 Views)

Not unless you created such a log.

The errors are passed back to you, but if you ignore them at the time, they are lost. 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 2 of 4
(2,328 Views)

Coastal is correct about that erro being in the bit bucket.

 

If you want to chase this error in the future then take a look at NI-Spy. It will log the detials of the I/O right down to the control signals used to ...

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 4
(2,322 Views)

I also use something like this in most of my programs however the More information you put onto the error string the more information you get back out.  This can be expanded to get timestamps, etc etc.

 

Message Edited by craigc on 08-19-2008 09:00 AM
LabVIEW 2012
0 Kudos
Message 4 of 4
(2,307 Views)