08-17-2015 03:24 AM
hi
im having problem with imaq readfile. i attach here 1.vi which has list folder vi that i connected with imaq read file. before in my code 3gp.vi i was just using case structure for my paths but i figured it would have a lot of cases and file path if i want a lot of images. then i found this list folder vi which reads multiple files in a folder. unlike with cases i only need one path with listfolder. but unlike listfolder cases work fine. haha i also attach a vi of listfolder i used to view all files in the folder
thanks in advance. hope you can help me.
08-17-2015 03:26 AM
i also tried connecting file path to different sources
08-19-2015 01:41 PM
Hi Cecilia,
I believe that you might forming the file path incorrectly. You might want to create an indicator from the File path to make sure that you are getting the path that you are expecting. What error is LabVIEW throwing when you run the program?
http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_readfile/
08-21-2015 12:29 PM
hi fblerg
here are the things that i tried to do and the error message it displays.
08-21-2015 12:32 PM
i also tried these. hope you can help me 🙂 thanks
08-24-2015 09:56 AM
I believe that you loading the file path incorrectly. Have you tried turning on Highlight Execution to see which VI is throwing the error? I would also add a probe to the Filepath wire to see what file the IMAQ Read is looking to load. I have also a couple useful examples of reading images.
https://decibel.ni.com/content/docs/DOC-24225
08-24-2015 11:41 AM
Hi there, your initial program works fine for me. The LED array will only light up if you wire in the filename with extension, ex: Dessert Landscape.jpg. Is that why you thought it wasn't working, or some other reason?
P.S. I hope Dessert Landscape wasn't a typo, it sounds delicious!