08-21-2006 11:34 AM
I hope LabVIEW developers find these useful. Make sure to submit suggestions to LabVIEW R&D if you find yourself writing VIs to do common functions that you think should be on the palettes for all to use. That was my primary motivation for putting these VIs on the palettes in the first place.
-D
P.S. - Check out past nuggets here.
08-21-2006 11:44 AM
08-21-2006 01:41 PM - edited 08-21-2006 01:41 PM
Tell me about it. I'm still stuck in a 7.0 world and hoping NI makes a new policy for free software after 1000 posts!!![]()
Darren,
Did you use a queue in your recursive File vi to hold the items??
Message Edited by unclebump on 08-21-2006 01:41 PM
08-21-2006 02:02 PM
08-21-2006 02:42 PM
08-21-2006 03:10 PM
I thought the queues were pretty fast based on this thread.
http://forums.ni.com/ni/board/message?board.id=170&message.id=116854&requireLogin=False
Here is a file list that I made with queues in this thread.
http://forums.ni.com/ni/board/message?board.id=170&message.id=191444&requireLogin=False
08-21-2006 03:34 PM
Damien's single-element queues are not really being used as queues, but as a data store. The benchmarking he did was comparing the single element queues against other data storage/retrieval mechanisms. That's a different use case than recursion, where you would be using the queues to actually store multiple items (the files/folders you're recursing). If you want to benchmark my VI vs. yours in terms of performance on recursing folders, go for it...like I said, it was a while ago, but when I did it, the shift register/build array method was faster. As I mentioned in my previous reply, my VI ships with LabVIEW 7.0, so you can try it. Note that you have to run File I/O benchmark VIs more than once, since the first run will often take an indeterminately longer amount of time, as Windows implements caching to speed up subsequent File I/O operations.
-D
08-22-2006 01:05 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
08-22-2006 07:39 AM
@Jonnie_5 wrote:
Man, the pressure to update is mounting!