LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW file browser can't see folders

I am using LabVIEW 7.0 on Sparc Solaris 2.6.  I am using NFS to serve folders from a RHEL5 linux server.  These folders contain my LabVIEW code, and I am mounting them on my Sparc Solaris workstation.  When I open the LabVIEW file browser, some folders and files (but not all) appear to be missing.  LabVIEW will open the files no problem if I type in the complete path.  For example, when I navigate to directory A, there should be SubdirA and SubdirB, but SubdirB does not show up in the file browser.  Yet, if I just type SubdirB in the text box, I can navigate to this directory no problem.  Using my terminal, I can view these folders without issue.  When I use the file browser on nedit, hotjava, tedit, image viewer, etc. I do not have this problem.  It is only the LabVIEW file browser that has the problem.  Can anyone tell me what this could be, and if there is anything I can do to fix it?
0 Kudos
Message 1 of 8
(3,824 Views)

It seems that others have seen this same problem.  Does anyone know if this was ever resolved?  It seems to be a bug in the file browser that only happens when looking at mounted NFS folders.

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=132551&query.id=3838921#M132551

0 Kudos
Message 2 of 8
(3,820 Views)
Another note of interest: when I use NFS mounted folders from another Solaris machine, it seems to work fine.  It is only when the folder is mounted from a RHEL5 linux machine that I have this problem.
0 Kudos
Message 3 of 8
(3,799 Views)

I wasn't able to find any record of similar behavior other than that other forum post but obviously there is something going on.  To help narrow down the issue, are there any differences between the files that are found and those that aren't?  Are there any permission differences and what file types are in the two folders-are they all VIs?  Also, do you have any other versions of LabVIEW to test with?

 

Let me know what additional information you have and we can further investigate the issue.

Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 4 of 8
(3,762 Views)
Thanks for your reply.  There is no difference in the file permissions between the files and folders that show up and those that don't.  I have tried deleting and recopying the file system, yet the pattern of files that are "hidden" remains the same.  The problem with the browser is also visible when LabVIEW is trying to find a subvi.  In a window it will say "searching dirA/././././././././././././././././././././././././.  error: path too long".  As best as I can tell, both the client and server are using NFS v3.  This problem occurs when using LabVIEW versions 5.1 and 7.0, and when using Solaris 2.6 and 8.  The only other thing I could think to try was to wipe out Linux on my server and install OpenSolaris, but it is hard to justify this risky course of action.
0 Kudos
Message 5 of 8
(3,738 Views)
I will have to look into this a bit further.  The one other thing that might be helpful at this point...can you provide the exact paths of the two subdirectories you're looking in (the one that works and the one that doesn't)?
Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 6 of 8
(3,703 Views)

Solaris workstation hostname: stealth3

Linux server hostname: linux1

 

Shared (through NFS) folder directory on linux1: /share/ims_programs

 

mounted (through NFS) directory on stealth3: /mnt/ims_programs

 

The /mnt/ims_programs folder contains two subdirectories: production and certification.  When using ls from the command line, both subdirectories are visible.  In the same way, the file browser for graphical applications like nedit, tedit, hotjava, etc. can see both subdirectories.  The LabVIEW file browser does not show one of the two.  As best as I can remember, it showed certification but not production.  Descending into the file structure, there are many cases like this, where existing files or folders are "hidden".  When the exact same directory structure is copied to a Solaris server and shared with NFS, the LabVIEW browser can see everything.

0 Kudos
Message 7 of 8
(3,690 Views)
Thanks for information.  I am trying to get setup finalized to test with and will update you when I have some more information.
Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 8 of 8
(3,656 Views)