Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR -1074396120 imaq readfile

hello everyone:

i am using imaq readfile  to read a picture in my hard disk. the format of the picture is tiff, the data format in the picture is 16bit, but i get error-1074396120, i have tried grayscale I16 and grayscale U18, did anyone have met this before? thanks for your help

Download All
0 Kudos
Message 1 of 8
(3,581 Views)

-Plenty of problems with your code.

-Use Error wires to enforce dataflow instead of Sequence structures.

-There are two IMAQ Read files which one is throwing error?

-You should provide the code and your images which you received error to debug or help.

-Also there are lot issues while reading TIFF file format files, How you got these images? Can you change the format to some other format?

Thanks
uday
0 Kudos
Message 2 of 8
(3,555 Views)

thanks for your reply, here is my  answer to your question:

-i have not notice the error wires,i do not think it is a key point,because the first Read Files do not work;

-both of the IMAQ Read Files throw error;

-i will provide them in the accessory;

-i got those images by a camera made by ourselves, i can save images in fit format, but i have not seen knowledge about reading fit files in labview, is there another way read tif files in labview? in fact, i can read those tif files in matlab using imread function. i tried to use MathScript and imread to read the image,but i have found that imread in MathScript does not support tif format, it just works for jpg,bmp and png.

-

0 Kudos
Message 3 of 8
(3,539 Views)

i am trying to update the tif image,but  it is said that the image is Invaild File Type.i do not know why. i can see its property,and it show me the file type is tif. i can read it in Matlab.i guss it is tif image. 

0 Kudos
Message 4 of 8
(3,536 Views)

-My first point is referring to this: http://www.ni.com/newsletter/51735/en/

-Try uploading the images in Zip.

-I saw you were trying to calculate mean? There are VIs available in LabVIEW itself no need for Mathscript(Look into https://zone.ni.com/reference/en-XX/help/370281AC-01/TOC56.htm)

Thanks
uday
0 Kudos
Message 5 of 8
(3,532 Views)

http://pan.baidu.com/s/1bV3ThG thanks for your advices, zip did not work too. i upload it in a cloud strage and make a link,you can click it and try to download it.

0 Kudos
Message 6 of 8
(3,524 Views)

Getting error like below:

error.png

Thanks
uday
0 Kudos
Message 7 of 8
(3,520 Views)

Thanks, you can try this http://pan.baidu.com/s/1nv9dcLj   the code is nks8

i am happy that you can visit BaiDu.cloud disk.

0 Kudos
Message 8 of 8
(3,518 Views)