LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

List windows shared folder hanging LV?

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

0 Kudos
Message 1 of 7
(3,072 Views)

Hi Enrico,

maybe there are some network problems from time to time.

 

Mike

0 Kudos
Message 2 of 7
(3,070 Views)

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

0 Kudos
Message 3 of 7
(3,068 Views)

Hi enrico,

               Can you post your code for lv 8.0?
 

                  
 

0 Kudos
Message 4 of 7
(3,049 Views)

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

0 Kudos
Message 5 of 7
(3,046 Views)

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. 

Regards,

Jeremy_B

Applications Engineer
National Instruments
0 Kudos
Message 6 of 7
(3,026 Views)

I'll check that. But two weeks from now, at the moment I'm abroad.

Thanks, Enrico

0 Kudos
Message 7 of 7
(3,011 Views)