01-19-2011 01:43 AM
Hello All
The attached vi is giving me a headache....why.
The vi searches a file path for any zip files and if present will list in two arrays both any files by name and any folders by name contained in the zip file (or so my theory goes)
The two zip files differ, with one containing csv files (only) and the other xml files and folders containing xml files, but when run I get an error (13) saying that the file is not a Labview resource file.
Can anybody help with this please......why is this error occuring.
Thanks in advance
Regards
Ray
01-19-2011 02:33 AM
01-19-2011 02:48 AM
makes no difference with the while loop there or not
01-19-2011 05:48 AM
Hi rayclout,
You are trying to list the files which inside a zip files, im not sure we can do that.
and "List folder" will list the the files and folders which available in the folder path you given not from zip file.
To list the files inside zip files ->Unzip the zip files to a temp directory, then read all the files inside the temp directory using "List folder" then clean up by deleting the temp directory.
Note: No need to use while loop. also i suggest you go through LV basics documents.
01-19-2011 06:08 PM
Thanks GK
Your tips did the trick. I was able to get it functioning.
Regards
Ray