Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ VISION File not found Error.

Greetings.

I used Ni Vision Assistant to create a VI able to read a d matrix and found a patter using shape patern.

When I run the script, from NI VIsion Assistant, everything seems to be fine.

So, after creating the VI, crating a new project and setting everything inside the folder ( added the device, camera, and the files used for the shape matching), and run the project, the VI found the d matrix and decode it, but when comming to the shape matching part, found the following error:

Error -1074395995 occurred at
Possible reason(s):
IMAQ Vision:  (Hex 0xBFF604A5) File not found.

The same error appeared to me days ago, when trying to do the same but with an OCR, using .abc file

I think the error must be a setting in the project adding the file path.

Thanks in advance, any help is welcome.
0 Kudos
Message 1 of 5
(7,342 Views)
Hi,
 
The paths to the templates are hardcoded in the LabVIEW code generated. If you moved the template inside the folder where you generated the code, you also need to modify the path constant to make it point to the template.
 
Hope that helps. Let us know if you're still having problems.
 
-Christophe
0 Kudos
Message 2 of 5
(7,338 Views)
In lamen's terms please. I'm a newbie at this and I'm having the same problem
0 Kudos
Message 3 of 5
(6,846 Views)
Check the file path to the vi. Have you moved any lib files?
0 Kudos
Message 4 of 5
(6,826 Views)
0 Kudos
Message 5 of 5
(6,824 Views)