04-28-2008 02:48 PM
04-29-2008 03:20 AM
Hi Matt,
why do you need different files? One solution could be to create your own file format.
Mike
04-29-2008 04:47 AM
01-17-2011 03:01 PM
If you have LabVIEW 2009 or later (possibly earlier - don't remember when they appeared), you already have VIs for manipulating zip files. They are in the file I/O pallete. The "Unzip" vi has a preview function that you can use to search the archive file. Even if you have those, I would recommend the open source zip file tools from OpenG:
http://wiki.openg.org/Main_Page
If you've ever gone through a typical Windows explorer file dialog, you've probably noted that Windows XP and later has no trouble navigating zip files. Unfortunately, the LabVIEW file dialogs and file I/O do not tunnel directly into zip files (at least as of LV 2009 - not sure if 2010 has this capability). For the file dialog, I'm sure you could use a dot Net based Windows System dialog to gain navigation of the archive. For writing to files, you'll probably have to write files to temp directory first and then add to the zip file; however you can make that all transparent to your users.
01-17-2011 03:07 PM
A different option on zipping: Use 7zip via the command line (System Exec). I'm not sure about all it's options, but I think it should be able to add a file to an existing archive.
Felix
01-23-2011 08:04 AM
So you want a dialog that allows users to only select folders?
Perhaps limited to folders with a specific extension (NI has a lot of actual folders on Windows that use an llb extension).
It's not that hard to roll your own dialog based on the LabVIEW file functions limiting the options for showing elements.
Ton
03-07-2013 12:18 AM
hi i have files inside a folder , how can i access it continuosly using labview vi
03-07-2013 02:18 AM
Hi dfs,
you should have created a new thread instead of hijacking an old one with an unrelated question...
There's a Listfolder function in the file functions palette. It will help you to know the names of all files in a folder so you can access them...