06-11-2015 03:44 AM
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
Solved! Go to Solution.
06-11-2015 03:51 AM
Hi Chuck,
for which Instrument are the drivers you are refering to?
Thanks,
Milo
06-11-2015 03:55 AM
Hi Milo
Thanks for the quick reply.
it the CMU 200
The Bas install, the GSM install and the WCDMA install.
Chuck
06-11-2015 04:27 AM
06-11-2015 05:13 AM
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?
06-11-2015 06:14 AM
06-11-2015 06:18 AM - edited 06-11-2015 06:19 AM
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
06-11-2015 06:39 AM
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