Jump to content

Bug in List Folder


Tim_S

Recommended Posts

I ran into a bug in LV 2011 with the List Folder primitive. A pattern with an underscore in it will return an empty array despite matches in the target directory. Here is a demonstration of the bug:

List Folder.zip

I contacted NI about the bug. There is a CAR for the MAC OS only at the moment and it will either be updated or a new CAR created. I wasn't able to get what version of LabVIEW will correct this.

Tim

  • Like 1
Link to comment

Ummm... slight problem with example... the value for the item "Test123_*.* (doesn't work)" is actually defined as "Test_*.*". No files in the test directory match that pattern, irrespective of the List Folder function. If I place a string control on the front panel and enter a pattern of "Test123_*.*" then the resultant array is ["test123_1.txt", "test123_2.txt"].

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.