LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IError -1074395992 occurred at IMAQ ReadFile when processing batch via a vi

I have built a vi from a visoin assitant file via the automated vi creation under tools in vision assitant. The vi works fine on a single file but then the input control is changed to select an entire directory it crashed with

Error -1074395992 occurred at IMAQ ReadFile File access denied.

It reads all the files individually but won't run in the batch mode.

 

 

 

0 Kudos
Message 1 of 2
(3,727 Views)

Hi Patrick,

Sorry it's taken so long to get back to you.  The function you are trying to use doesn't actually support reading of many files at a time (batch processing), what you will have to do is extract all of the path names individually and then complete paralel processing on all of the images.  (The image constant that is passed to each of the functions can only store one image at a time)

I have taken your vi and changed it slightly to allow for this functionality.

I hope this helps

 

AdamB

Applications Engineering Team Leader | National Instruments | UK & Ireland
Message 2 of 2
(3,719 Views)