From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-22-2017 09:21 PM
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
05-23-2017 12:32 AM
-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?
05-23-2017 02:21 AM
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.
-
05-23-2017 02:29 AM
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.
05-23-2017 02:41 AM
-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)
05-23-2017 03:23 AM
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.
05-23-2017 03:29 AM
Getting error like below:
05-23-2017 03:36 AM
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.