Discussion:
List windows shared folder hanging LV?
(too old to reply)
Enrico Segre
2008-08-13 11:10:05 UTC
Permalink
As per subject - LV8.5.1, windowsXP. A simple VI containing just the "List Folder" block hangs completely labview (Not responding, sometimes can't even "End program", may have to reboot the machine) if trying to list a subfolder which contains several *files* (not other subfolders), on a windows shared on another machine. No problem observed in listing local folders. Anyone observed? Possible causes and fixes?  Thanks in advance, Enrico Segre


directoryLister.vi:
http://forums.ni.com/ni/attachments/ni/170/348912/1/directoryLister.vi
MikeS81
2008-08-13 11:10:07 UTC
Permalink
Hi Enrico,maybe there are some network problems from time to time.  Mike
Enrico Segre
2008-08-13 11:10:07 UTC
Permalink
Thanks, but that is not the case. Listing, as well as file access with the file explorer is instantaneous. Bug of List Folder, or some oddity in the setup of the share (none I'm aware)? Enrico
muks
2008-08-13 14:40:07 UTC
Permalink
Hi enrico,               Can you post your code for lv 8.0?
                    
 
Enrico Segre
2008-08-13 15:10:08 UTC
Permalink
here it comes, but I didn't try it with LV8.0 itself, in case it is a recently introduced bug. Rather, I tend to think that the hang might be caused by some property of the host OS or of the sever OS, share configuration and such, because I could try the vi on a second machine vs another share, with LV851, which does not hang. However, I still think that LV shouldn't crash like this, it should at most report an error.  Enrico


directoryLister.vi:
http://forums.ni.com/ni/attachments/ni/170/348988/1/directoryLister.vi
Jeremy_B
2008-08-14 17:40:08 UTC
Permalink
Hi Enrico, What happens if you use a Check If File or Folder Exists VI on the shared folder on the machine that hangs before you do the list folders on it?  I am wondering if it can see the folder and hangs while trying to list it, or if it cannot even see the folder and just hangs waiting for it to appear. 
Enrico Segre
2008-08-15 14:40:20 UTC
Permalink
I'll check that. But two weeks from now, at the moment I'm abroad.Thanks, Enrico
Loading...