LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"This VI or function runs normally only if no error occurred before this VI or function runs" any good work arounds?

I have a couple of applications where data is collected and files are saved several times during it's operation.   I would like to just simply collect any errors and display them at the end of the run, but both Visa and File read write vis will not allow that.  If the error cluster isn't wired then an error message will pop up and operation stop until somebody clicks on continue.   That doesn't work well for my operation either since it's mostly running without any attendence. 
 
In case of a Visa operation I input a dummy error cluster and collect a dummy error cluster at the output.  Any error messages created by the Visa vis is lost.  I guess that's not so bad, but sure is a pain.  
 
 
 
0 Kudos
Message 1 of 2
(2,799 Views)
The reason for the dialog box is the "Automatic Error Handling". You can either turn it off in LV options or wire the outgoing error cluster to something - like a subVI that parses the contents of the cluster and writes them to a file if an error occurs.

Why are the VISA errors being "lost"? What do you mean you collect a dummy error cluster at the output? Can you post some of your code?

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 2 of 2
(2,779 Views)