Progress at List Folder function with many files in a folder

I use the List Folder function of LabVIEW and want to see the progress because it takes much time (20 sec) to load all the files in an array.
How can i do this?
see ListFolder example.jpg
Kind regards Ben Arts
Solved!
Go to Solution.
Attachments:
ListFolder example.jpg ‏6 KB

Ben Arts wrote:
I showed a small picture that's all to do the job.
There are about 3000 files and the folder is a server.
Well, that would certainly do it, especially since you said it's on a server, hence a network drive.
In this case i was looking for a progress for the List Folder to use that in a progress indicator for the user.
Unfortunately, there is no built-in mechanism for this. Perhaps you can organize the files in such a way that you can get a list of them in "chunks", based on some search pattern. Or perhaps you can organize them in folders so that you dynamically populate the subfolders when a user wants to see what's inside.
Aside: having 3000+ files in a folder is a poor way to orgranize files, especially on a server, as this leads to a massive amount of file I/O and network I/O burden on the server.

Similar Messages

  • When i use view as list in finder and open a folder with many files i cant right click with mouse without selecting or highlighting a file....i just want to right click to paste an item or create a new folder...what can i do?

    When i use view as list in finder and open a folder with many files i cant right click with mouse without selecting or highlighting a file....i just want to right click to paste an item or create a new folder...what can i do?

    Thx for that im gonna try it....but is there a way to do it without using toolbar or cmd-c...? i mean using only the mouse?why does it have to highlight the file even though i click a bit next to it....?using icon view i can right click next to the folder and i wont have a problem but with list view that i prefer using it will highlight the whole row.....and i dont find free space to right click cause i got many files

  • XMP files remain with NEF files in my folder.  Camera Raw suddenly reset leaving my edits gone.  Will XMP files enable me to resume with those lost edits?

    XMP files remain with NEF files in my folder.  Camera Raw suddenly reset leaving my edits gone.  Will XMP files enable me to resume with those lost edits?

    I never tried this, but I'm pretty sure that with DNG files, Lightroom will ignore xmp files, even when you instruct Lightroom to "Read Metadata from File". Lightroom expects all the metadata to be in the DNG file, not in the xmp file.
    Pick flags, as far as I know, are never written to xmp file; nor are they written to DNG files.
    If you're going to make this transfer procedure work, you need to do it by either (a) embedding the metadata in the DNG file and send those back and forth; or (b) use RAW and xmp and then sending the xmp files back and forth (plus I guess you have to transfer the original RAW once to your editor)

  • LTFS is slow when dealing with many files

    Working with LTFS on Windows 7 64, I find find that it slows down significantly when dealing with many files (>1500)
    From the behaviour, I suspect that it has to do with the number of file handles.
    Some LTFS vendors have a copy utility that deals very well with this situation.
    I could not find anything like that for HP.
    Does it exist? Is there an open source solution?
    Thank you,
    - Bartels

    Can someone from the Experts please respond?
    Your LTFS solution is in certain situations much slower than the competitors; the difference is a huge factor three..
    I would really like to know if there is a solution or not. Either way.
    - Bartels

  • SMB/CIFS browsing slow with folders with many files

    My NAS (Buffalo Linkstation HG) SMB/CIFS browsing from OSX is slow when a folder has many files in it, with ball spinning for more than 30 seconds before listing folder contents depending on how many files the folder has.
    But accessing the same Linkstation from Windows XP is fast. Even Windows XP inside OSX (using Parallels) is fast.
    Since the same machine but inside Parallels is fast seems not a network issue to me. Maybe some setting in OSX could help, or some setting in smb.conf inside the Linkstation (I can change it by using Openlink, a non official firmware).
    Also, AFP folder browsing is fast, but not using it because the one included with the Linkstation has filename length limitations to be compatible with OS Classic.
    Anyone had a similar problem accesing a SMB/CIFS share?
    Thanks.
    Macbook (Core 2 Duo)   Mac OS X (10.4.8)  

    There was a suggestion out here recently to disable Bonjour's Name Resolution...but connecting to the remote drive by IP address, instead of name.
    Like so:
    Connect by IP address, and it should bypass Bonjour name resolution. Hit command-K, and in the window that pops up type
    afp://<ip-address>
    where <ip-address> is the IP of the host you want to connect to. For example, if the IP address of the Aiport basestation hosting the drive is 10.0.0.1, you would type:
    afp://10.0.0.1
    This was a long fix for a slightly different problem http://discussions.apple.com/thread.jspa?threadID=877397&tstart=0
    Worth a try.
    Aso consider if thisis a large folder full of pictures - mac seems to think it needs to generate thumbnails of all those image files...think of the network and CPU time needed for that.

  • "Bookmarks and history system will not be functional" with corrupt files found by Avast and websites loading slow ONLY in Firefox

    Firefox is the only browser that lets me connect with my microphone. I need to use this feature for an online class. Earlier this evening, the message prompting me to allow or deny the class website permission to use the microphone stopped appearing, and without it the recording won't pick up any sound and I can't record anything.
    I tried exiting and restarting Firefox. I had some extensions in use at the time, in particular Session Manager. The allow/deny message still wouldn't appear, so I restarted my computer.
    Now when I open Firefox I see the "The bookmarks and history system will not be functional" error message. In addition, the browser loads websites extremely slowly; it takes several minutes to load each page or for me to be able to click on anything (the URL bar, the menus, etc) My other browsers (Internet Explorer and Chrome) are running normally and load websites at a normal speed. I tried downloading the latest version of Firefox but it didn't fix anything. I also tried restarting the computer again but that didn't help either.
    I ran my Avast software system check and it turned up that the following files under "C:\Users\(me)\AppData\Roaming\Mozilla\Firefox\Profiles\Irozixj7.default" are "corrupted and unreadable":
    -cookies.sqlite-shm
    -cookies.sqlite-wal
    -localstore.rdf
    -places.sqlite-shm
    There was one more problem on the scan, but it probably isn't relevant: for the file "C:\ProgramData\Microsoft\Windows Defender\Definition Updates\{9A2C6FA7-E04E-4819-B86A-8363A9D1E42A}\mpengine.dll" it says "The system cannot find the path specified." When I attempted to follow the path indicated, one of the folders (I can't remember which) said something along the lines of "You can't access this folder, do you want to permanently allow access to this folder?" I said yes and was able to access the folder.
    I have tried to add the Places Maintenance extension but the speed is too sluggish to download anything. Trying to access any of the menus results in the browser freezing for several minutes then unfreezing but with the menu still unopened. Therefore none of the solutions found here (https://support.mozilla.org/en-US/kb/fix-bookmarks-and-history-will-not-be-functional?esab=a&as=aaq) seem to work.
    My questions are as follows:
    -Is it possible to figure out what caused the problem in the first place?
    -Is there a way for me to fix it without losing my bookmarks and history?
    -How can I avoid this happening again in the future?

    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder. To quickly access this folder:
    Help > Troubleshooting Information > "Show Folder" button
    Next, keep this folder open, exit Firefox, and try moving the "corrupted and unreadable" files to a different folder. With the exception of localstore.rdf, which stores window positions, toolbar customizations, and other nonessential data, the other files appear to be session-specific files that hopefully are not critical. If you restart Firefox, does it behave more normally?
    If not, try creating a fresh Firefox profile. It will have the Flash plugin, which is the control sites usually use to connects your camera and/or microphone, and other plugins, but otherwise will be a new setup. This article has the steps for starting up in the Profile Manager: [[Use the Profile Manager to create and remove Firefox profiles]].
    If sites work normally in the new profile, you can import your bookmarks from your old profile, as well as copying over other files that don't seem to be causing the problem. Some trial and error might be required to determine that. This article has some tips: [[Recovering important data from an old profile]].
    If the new profile is no better, you can exit Firefox and use the Profile Manager to switch back to your original profile.
    Any improvement?

  • Save As with suggested file name and folder

    I would like the user to be able to press a save button on the pdf and the "Save As dialogue box" pops up pre-populated with a file name and location choosen. The user can then choose to name the file something otherwise or select a new location. I would just like to save them the steps of copying the field data and finding the correct folder (deeply buried on server) however to place the finished document in.
    This doesn't seem to require a trusted function, but how do I suggest the file name based on a field name in the document. And how do I suggest the folder the document should be saved into?
    Thanks in adavance.

    Hi,
    you need a folder level script to use the browseForDoc method.
    http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf#page=10 4

  • Finder Very Slow - Folders with Many Files

    I've recently noticed that whenever I use Finder to access folders that contain a large number of files (100 or more files in a folder)... it seems to take an inordinately long time for the files to be displayed. Being relatively new to the Mac world and maybe not fully cognizant of some of the finer "tweaking" options....
    Is there any way to speed up Finder's response on these types of (large file count) folders?
    (When using Parallels/Windows on my Mac, I can open this same folders almost instantly; no delay when using the My Computer or Windows explorer apps)

    Rick,
    The folders (that seem to take sooo long to open with Finder) are on my Mac and some are also on a networked drive. The folders were created using Finder. The files contained in these folders are various types, JPG images, MP3, DOC, XLS Spreadsheets, and/or miscellaneous data files.
    The only thing that all of these problematic folders have in common is that they contain a large number of files; some folders with as many as 400 files....

  • Working with tagged files on a folder on a mac server

    Hi, we got several mac and a server with a folder share to every mac (a dropbox folder) to save bandwidth we don't use a dropbox on each computer, but dropbox in 1 Mac Server, and the dropbox folder is shared to each user.
    The problems is when someone is taging a file the tag doesn't appear on each computer, and we can not find the files in each computer.
    How can i force the finder to add the new tag on each mac ?

    John, Thank you for your reply.
    Some projects are set to cache locally while others are caching on the server, depending on the project and individual preference.

  • Folder redirection with Offline files enabled - Can I change the location of the locally cached files?

    I have a 2012 r2 server setup with folder redirection and offline files enabled. All this works perfectly.
    As you probably know, the local cache for offline files is stored at c:\windows\csc\v2.0.6\namespace\servername\
    The problem I have run into is that one user (who cannot be told to delete files cough ceo cough) has a very large documents folder, and a small SSD drive for his C drive. So the offline files are filling up his SSD. He wants all his files to be synced,
    so decreasing the max disk usage is also not an option.
    What I would like to do is move the Offline files to his D drive which is a large drive, however I have been unable to find any official method for doing this. Is there any provision to change this?
    If not, would it work to move the entire \servername\ path to the d drive and then create a junction at c:\windows\csc\v2.0.6\namespace\servername\ that points to d:\servername\?
    Thanks,
    Travis

    Hi,
    The following article is for Windows Vista but it should work at least in Windows 7.
    How to change the location of the CSC folder by configuring the CacheLocation registry value in Windows Vista
    http://support.microsoft.com/kb/937475
    Meanwhile creating a symbolic link should also work like:
    mklink /d "C:\Windows\CSC" "D:\CSC"
    Note: It will create d:\csc folder so you do not need to manually create it. 
    Note 2: As mentioned above, you may need to re-sync the offline files. Personally I also think robocopy will not work. 
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • [help needed] Javadoc problem with many files

    Hi,
    I have an Ant script generating my javadoc every night. I have about 5700 java files making about 42MB of data.
    It worked fine for two years until two weeks ago, where the script stopped with the following message :
    <<
    [... big snip...]
    [javadoc] C:\Temp\Java\blablabla.java:58: cannot resolve symbol
    [...snip...]
    [javadoc] public HtmlComponent getCell(
    [javadoc] ^
    [javadoc] 100 errors
    [javadoc] 1 warning
    BUILD SUCCESSFUL
    Total time: 1 minute 40 seconds
    >>
    If I execute the javadoc generation on a smaller set of java source files, I still have a lot (100 displayed) of error messages like the one above (which generaly don't stop javadoc), but the generation continues :
    <<
    [...big snip...]
    [javadoc] C:\Temp\Java\xxx.java:12: cannot resolve symbol
    [...snip...]
    [javadoc] public SelectionNoop(Fig fig) {
    [javadoc] ^
    [javadoc] Standard Doclet version 1.4.2_08
    [javadoc] Generating C:\temp\JavadocNewSI\constant-values.html...
    [javadoc] Building tree for all the packages and classes...
    [javadoc] Generating C:\temp\JavadocNewSI\com\zz\common\job\common\class-use\ManagerDelegate.html...
    [...big snip...]
    [javadoc] Generating C:\temp\JavadocNewSI\stylesheet.css...
    [javadoc] 6251 warnings
    BUILD SUCCESSFUL
    Total time: 23 minutes 33 seconds
    >>
    I don't understand what's going on. It is not a memory problem since it issues an intelligible message.
    I also managed to generate javadoc for several subsets, so it can't be a problem with one file or folder crashing javadoc.
    Any help welcome,
    Tug

    Well, it seems that the cause was indeed an empty java file...
    The generation fails if the empty java file is the set AND a refering file is in the set. If only one of these conditions are missing, then javadoc goes on...
    What I don't understand is that the empty file used to be here since may 2005 and the referring class is unchanged since 2004... it never bugged javadoc before.
    Creepy...
    Tug

  • Set Folder Permission with CSV File

    I currently have a batch file that I use to set the folder permission on a users folder.  The batch file of course requires me to manually set two variables.  I'd like to have a master csv file containing this info and a powershell script to allow
    me to set these permission much more quickly.  Here's my current batch file:
    Set User=123A
    Set Folder=123
    icacls C:\Data\%folder% /grant %user%:(OI)(CI)F
    My csv file would appear as 123A,123
    I did do a search and found a few posts on this subject, but couldn't wrap my head around how to modify them to fit my needs.
    Kevin

    FOR /F "eol=; tokens=1,2* delims=, " %%i in (myfile.txt) do icacls C:\Data\%%j /grant %%i:(OI)(CI)F
    ¯\_(ツ)_/¯

  • How do you get the root folder to recognize updated file in nested folder?

    I believe in OS 9, a modified file nested in a folder would trigger the root folder to recognize and update to the top of the "date modified" column. As long as I've used the Mac (20 years) I've used the "date modified" to force my current client folders to the top of the column. Lately, I have many nested folders in the root client folder. When I make changes to a file in a nested folder, OS X doesn't make the root folder recognize changes within a nested folder. I realize there is not likely to be a fix for this in OS X, as Apple probably deems this behavior to be proper (I do not,) so my question would be expanded to include suggestions for third party software that may accomplish this.

    Sorry, posted that last post and ran out of time while editing it. It should read like this:
    "Yes, if you ADD a new item or folder to a folder, it updates the root folder, but if you simply MODIFY a file (like Photoshop) within a subfolder, the root folder WILL NOT update the date modified. Check it out."
    Actually, whether the directory that a file is re-saved in will be modified or not can depend on the application in question and how it saves files.
    Let's say a folder has a single file in it. The modification date of the folder will be the last time a change was made to the directory, either by adding or removing an item from it. (This can include the invisible .DS_Store file in which the Finder saves view settings for a folder, which can often be written without you're realizing it unless you have the Finder show all files like I do).
    Then, let's say you open that file, which is a stream of bytes, in an application. You make some changes which alters the representation of the stream of bytes in RAM. The application then saves the changes to the file by filling it with the stream bytes as they now are in RAM. Modifying the contents of a file in this manner does not alter the directory that it's in. The modified date of the folder should remain unchanged.
    Some applications use a different method than above to save files, however. Let's say that theoretically while the application is re-writing to the original file during a save, the power goes out and your computer shuts down. There's a good chance that the document that was being saved is now corrupt. A safer method that some applications use, is to first write out the information to a new file in the same directory as the original file, then delete the original file, and then rename the new file so that it has the same attributes as the old file. This method will, of course, modify the directory that the original file was in by adding and removing a file.
    Dual 2.7GHz PowerPC G5 w/ 2.5 GB RAM; 17" MacBook Pro w/ 2 GB RAM -   Mac OS X (10.4.8)  

  • Is there an add-in for FF that will direct files based on the type? i.e. put graphic files in a folder called graphics, program files in a folder called exe etc?

    I would like FF to be able to sort my downloads into categories, to put program files into a folder called exe, to put graphic files into a folder called pics ,etc. Can this be done?

    The Firefox download manager isn't set up to do that, but I understand there are a few external download managers that offer a feature like that.

  • Bridge slow to open folders with many files

    Running Bridge CS3 on XP with 2GB of RAM, if I attempt to open a folder with, say, 80 or more RAW files, each about 6-7 MB, Bridge takes 20 minutes or more, or maybe even locks up. But if I split the folder into two subfolders, each with no more than 40 files, Bridge opens them up one at a time relatively quickly. Have others experienced this, and is it simply a limitation of Bridge or do I need more memory or processing power?

    Hi Michael.
    That depends on when you are referring to. When you import files into Bridge the program first sorts the files into the order specified in the 'Filter' panel. Next it creates the image thumbnails - this can take a considerable time if you have 'High Quality Thumbnails' ticked in Bridge Preferences, as Bridge then has to create it's own colour managed thumbnails rather than use the ones embedded in the imported files. The time to create the high quality thumbnails is also increased when indexing RAW images, as they contain more data.
    Once the initial indexing and creation of thumbnails is complete for the folder then subsequent openings of the folder should be much faster.
    If you have a folder containing several hundreds of images this initial indexing can be a pain, so I usually go off and do something else.
    BTW, if you interrupt Bridge while it's going through this initial indexing of a folder then it will attempt to resume next time the folder is accessed, so it's better to let it finish and get it over with - you can tell where Bridge has got to by the '%' indicator at the bottom left of Bridge.
    Ian.

Maybe you are looking for