LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

project dependancies have changed when upgradeing from 2012 to 2014

Solved!
Go to solution

Hello folks and thanks for reading this.

 

I am in the process of upgrading from LV2012 to 2014 and one issue I have come across is that some of the dependencies (some dlls associated with my Rohde and Schwarz drivers are no longer picked up and need to be searched for every time the VI is loaded.

 

The dlls were originally installed (by the Rhode and Schwarz installer) into: C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin

 

I  have managed to get through the issue by moving the dlls to: C:\Program Files (x86)\National Instruments\LabVIEW 2014\user.lib

 

I know the problem search paths but don't get why it has changed from 2012.

 

Any ideas?

 

Thanks in advance

 

Chuck

0 Kudos
Message 1 of 8
(3,731 Views)

Hi Chuck,

 

for which Instrument are the drivers you are refering to?

 

Thanks,

Milo

0 Kudos
Message 2 of 8
(3,719 Views)

Hi Milo

 

Thanks for the quick reply.

 

it the CMU 200

 

The Bas install, the GSM install and the WCDMA install.

 

Chuck

0 Kudos
Message 3 of 8
(3,711 Views)
You should not have moved the dll if you intend to use an IVI driver with the class functions. I'm not sure why you would have had to search for them in 2014. Are you still using 32-bit? Did you save the project and wrapper VIs after doing the search and relinking?
0 Kudos
Message 4 of 8
(3,703 Views)

I think I did everything exactly. (Saved the project and associated files after the update). it's like the R&S drivers VIs don't keep the dll paths of something and im not sure how these paths are stored.

 

Do you think un-installing and then Re-installing the R&S drivers would work?

 

0 Kudos
Message 5 of 8
(3,682 Views)
Solution
Accepted by topic author Nickleback
The paths are part of the call library function node in the wrapper VIs.

Reinstalling could help. I would also check to see if you need to upgrade the IVI Compliance Package.
0 Kudos
Message 6 of 8
(3,665 Views)
Solution
Accepted by topic author Nickleback

Hi Chuck,

 

the paths to the dlls are not stored in the driver. if you look into any driver VI, you'll see that the dll call node only has the dll name, not the path. LabVIEW will ask the OS for the path and the OS is searching through the folders defined in into the Environment variable PATH.

 

Make sure your Environment variable PATH contain the entry C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin

Anyway, why was it working in LV2012 and not in LV2014 is a mystery 🙂

 

BR,

Milo

0 Kudos
Message 7 of 8
(3,659 Views)
Solution
Accepted by topic author Nickleback

Thanks to you both, a Re-install did it (i found that un-installing from control panel is not enough and you need to remove the whole driver from  IVIpnp | RSCMU<driver>using the un-install.

 

Im guessing that the 2012 version had some links that 2014 wasn't picking up ???

 

Any way all fixed now thanks again.

 

Chuck

 

 

0 Kudos
Message 8 of 8
(3,647 Views)