10-20-2011 02:05 AM - last edited on 10-24-2011 12:07 PM by srdfrn
To scan drive, folder, ets.
I maked this, but my function is big bleep, a devil will break his legs here.
Need small workable solution.
10-20-2011 04:44 PM
Sergey,
Here is an example file which looks through every file in a directory.http://zone.ni.com/devzone/cda/epd/p/id/2157
It should save you some time if you are having issues with your code.
Regards,
Kyle Mozdzyn
Applications Engineering
National Instruments
10-20-2011 04:49 PM
There is a filebrowser custom control (toolslib\custctrl\FileBrowser.fp) that has an example of how you can do this with GetFirstFile and GetNextFile functions from the Utility Library. In FileBrowser.c check out PopulateListFromPath.
You can drop a file browser custom control in the UI editor to play around with it by right-clicking a panel in the UI editor in edit mode, and selecting Custom Controls>>Toolslib Controls>>File Browser.