LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to open resource files.

Hi,

I am creating an application labview on linux/ubuntu. The file '.vi' is right. But after I build the aplication (Build Application or Shared Library (DLL) ) and run, appears the error message: Unable to open resource files. Someone help me in the execution of an application labview.

Thanks!

0 Kudos
Message 1 of 5
(4,975 Views)

Hello Edimilson,
The reason for this may be that the computer is not searching the correct directories when the application is called. To change this, you will need to specify the LabVIEW directory as one of the default directories to search. Make the following changes while logged on as "root".

Edit the file /etc/ld.so.conf using a text editor. Add the path to the LabVIEW directory. For example, if is it installed in the default directory, add the line /usr/local/lib/LabVIEW-x.x; where x.x is your software version. 

Run the ldconfig command to update the dynamic linker. The command is ldconfig -v. The -v (which stands for verbose) is optional and is used to check if liblvrt.so.x.x is found.

Let me know if this helps.

Filipe Martarello

 

0 Kudos
Message 2 of 5
(4,946 Views)
Hi, Filipe Silva! Thank you for your reply. I did what I said, but did not work. By trying to run applications created by the command 'Build Application', get the same message. I put here '. Vi' and application generated as an example. If you can help I am very grateful.

PS: Still I am learning to speak English, so forgive me for mistakes!
0 Kudos
Message 3 of 5
(4,927 Views)

Hi Edmilson, good morning.

At the NI site, you can see at the link below that your OS is not supported by National Instruments drivers and software, but, maybe its possible to run.  
http://digital.ni.com/public.nsf/allkb/35D2B5E483A001A18625716B005BE464?OpenDocument

Try to review the directory files you´re using in the .vi if is it are correctily indicated. Is your application running in the same computer?

Let me know all the steps!

Regards,

Filipe

 


 

0 Kudos
Message 4 of 5
(4,903 Views)
Good morning, Fillipe!
Thanks for your help! Discovering that the Labview 7.1 was in conflict with the installation of Labview 7.0. I removed the two versions and installed only the Labview 7.0 and then managed to run my application after setting the path on /etc/ld.so.conf.

Regards,
Edimilson.
0 Kudos
Message 5 of 5
(4,897 Views)