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.
04-03-2006 11:19 AM
Have you ever written a VI to recurse the contents of a folder? Or have you tried to find somebody else who wrote that VI so you could copy it? There is actually a VI that ships with LabVIEW that can do this for you. Check out vi.lib\utility\libraryn.llb\Recursive File List.vi (available in LabVIEW 7.0 and later). Give it a path to a folder or LLB, and it will return a recursive list of all files that exist in that folder/LLB. If you specify a folder, the VI also returns a list of all the subfolder names. There is also an input to this VI that allows you to treat LLBs as folders so you can recurse their contents as well. There currently is not a way to specify a pattern (like *.vi) to filter the list, but there will be a pattern input in a future LabVIEW version.
-D
P.S. - Check out past nuggets here.
04-05-2006 09:26 AM - edited 04-05-2006 09:26 AM
Message Edited by Philip C. on 04-05-2006 09:26 AM
04-05-2006 09:33 AM
@Philip C. wrote:
I've seen several developers spend a lot of time trying to create a similar functionality from scratch.
Yes... I'm one of them... 😮
Thanks Darren. 😄
Keep those nuggets' coming!
04-05-2006 10:12 AM
04-05-2006 10:37 AM
"But how does the block diagram look.....?"
"Pay no attention to the man behind the curtain." (Wizard, Wizard of Oz)
Ben
04-05-2006 10:39 AM
Well, I was about to tell you to check it out for yourself, but then I realized you have LabVIEW 6.1. No matter, here's a copy saved just for you in LabVIEW 6.1 format.
-D
04-05-2006 10:43 AM
04-05-2006 10:50 AM - edited 04-05-2006 10:50 AM
Message Edited by shoneill on 04-05-2006 05:52 PM
04-05-2006 11:01 AM
I'm all about the simple solution. 🙂
-D
04-05-2006 02:43 PM
@Darren wrote:
I'm all about the simple solution. :)
Does that mean you wrote it?
BTW, speaking of OpenG, it also "exposes" the librarian VIs in a palette.