LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

finding a "file not found" error in a sub vi

Solved!
Go to solution
I have a vi which includes about two layers of sub vi's.  Various sub vi's read data from files.  When I run the main vi, I get a file not found error, but the error message does not identify either the file nor the sub vi within which the error occurs.  Shor of manually going through each vi, how can I find the error source?
0 Kudos
Message 1 of 5
(2,994 Views)
I usually reach for, in order of preference, probes (on various error wires) and 'Highlight Execution' (the lightbulb).
0 Kudos
Message 2 of 5
(2,990 Views)
Solution
Accepted by topic author eearle
You could also try to search for the file function that's generating the error. LabVIEW has a find utility to search for VIs/functions in your hierarchy.
Message 3 of 5
(2,974 Views)
I don't kow where all of the read file vi's are.  Don't I need to attach a probe to the vi error output?  Is there some way to find vis, especially vis in sub vis?
0 Kudos
Message 4 of 5
(2,967 Views)

eearle wrote:
I don't kow where all of the read file vi's are. 

You don't need to - that's the whole point of searching for a VI. Are you getting an error dialog? If so, does it tell you the name of the VI as the source? If so, just use the Find tool to find all instances of that VI and use the probes as Darin mentioned to track down where the error is occurring. 

0 Kudos
Message 5 of 5
(2,958 Views)