LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot locate the UART.lvlib: Visa Configuration.ctl

Solved!
Go to solution

Hi Guys,

I run to a problem after reinstall labview 2014. When I open the existing project. It started to looking for the control file. File name is UART.lvlib: Visa Configuration.ctl

look for  control file.PNG

 

Then I click cancle and the errors show up on the front panel and the run arrow was broken.

 

errors.PNG

 

After I click on the show errors, it send me to the SMC Visa Configuation location

 

smc visa configuration errors.PNG

 

Then I double click on the SMC file it show up the block diagram for the smc file and the visa was disable in the picture below

 

visa configuration errors.PNG

 

Please help me figure out the problem. 

I dont know which add on or drivers should I install. I install the NI Visa driver  and the control and simulation driver already but it didnt fix the problem.
Hope  you can help us identify the problem.
Thanks in advance!
 
Long Tao
0 Kudos
Message 1 of 4
(3,365 Views)
Solution
Accepted by topic author TaoPVAMU.Edu

Hi Tao,

 

these are VIs from an instrument driver library, located (or: bundled/"collected") in a lvlib. You need to find this/these lvlib(s) in a backup of your project data!

 

(You know tools like SVN or GIT are often used to keep the (whole) history of your source code!?)

 

On your question to the last image: right-click the typedef'd cluster and select "disconnect from typedef".

It's a quick&dirty solution, in the long run you should keep all needed code in backups or source revision repositories!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(3,341 Views)
Hi GerdW,
Thanks for your solution! I will give it a try. However, before I reinstall the labview 2014 the code work find, after reinstall it cannot locate the UART visa control file. I use the same program and folder.
0 Kudos
Message 3 of 4
(3,325 Views)
Solution
Accepted by topic author TaoPVAMU.Edu

This problem really hits close home. Here's a few questions that will help us a lot:

 

-Are you using LabView 32 or 64 bit?

-When you reinstalled, did you install in default directory (c:\) or another hard drive? (D, E etc.)

-Did you run a clean installation? That is, removed LabView related files and registries first, then reinstalled.

 

I have had a few issues with VISA, and turns out I couldn't use it very well on LabView x64 but could in the x32 version. Also in the VISA installer, make sure to point it to your installation directory so it can update the callers correctly. If worse comes to worst, you will have to manually direct LabView to the VIs, which will be bothersome but you just have to do it once.

0 Kudos
Message 4 of 4
(3,316 Views)