USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

Error loading niusrpriolv.dll

Solved!
Go to solution

After upgrading to LV 2019 64 bit, I get the

 

error loading niusrpriolv.dll. 

A dynamic link library (DLL) initialization routine failed.

 

when loading my application VI (for USRP 2045). This happens on the production computer. On my personal computer which I use for development with the same software installed, the same project opens well.

I tried to open a example project for the USRP 2945 but with the same error.

All VIs on the USRP RIO palette are broken. 

All VIs on the USRP palette are broken (niusrp2.dll error) 

I tried to repair the USRP 19.5 package but the error remains.

I am stuck. any idea?

  

0 Kudos
Message 1 of 5
(2,664 Views)

just uninstalled all LabVIEW software (only Package Manager remained). Then installed LabVIEW 2019.2 64bit with all modules (Imaq, FPGA, Signal Processing etc.). Then installed USRP 19.5. 

The same error appears (see image)

Please help!

0 Kudos
Message 2 of 5
(2,626 Views)
Solution
Accepted by clicks

Some questions:

  • On your Personal PC (where things work), which version(s) of LabVIEW are installed?  Include whether 32 or 64-bit.  Also include which Toolkits and Modules are installed (I hope you didn't install everything).
  • When you did the uninstall/reinstall on the Production Machine, you failed to do a complete uninstall.  Were there ever earlier versions of LabVIEW on this PC?  When you do a complete uninstall, there are 2 or 3 steps.
    • Under Programs and Features, uninstall all NI Software.  Be sure to include everything (except NIPM).  Reboot.
    • Uninstall NIPM.  When you try, you will get a warning about doing this.  Do it anyway.  Reboot.
    • You may find that when you return to Programs and Features, there is still more NI Software to uninstall.  Do it and reboot.
  • Now proceed to install LabVIEW.  You should begin by downloading a new NIPM, which should be at least Version 19.5.  I recommend installing LabVIEW "slowly".
    • Install LabVIEW (whatever bit version you need).  Do not select Toolkits or Modules (except VIPM, which is safe).  Do not select any Drivers (though you will get some).  Select only the Add-Ons that seem appropriate for a "LabVIEW-only" Installation.  Reboot.
    • Install, preferably one-at-a-time, the Toolkits and Modules you need.  Again, no Drivers, and only relevant Add-Ons.  Reboot and continue until done with Toolkits and Modules.
    • Install any additional Device Drivers you need, along with relevant Add-Ons.

This is not guaranteed to work, but after 4 months of trying, it works for me.

 

Bob Schor

0 Kudos
Message 3 of 5
(2,589 Views)
Solution
Accepted by clicks

Man thanks Bob for the help. 

Meanwhile I got it working with USRP 19.0. Trying 19.1 did show the same error. 

But here some comments on your recipe: 

Indeed i just uninstalled everything from the Package manager (which was up to date). There was LV 2019 32 bit and 64 bit installed with almost all toolkits. After, I checked Programs and Features and uninstalled also all NI and VISA software etc. It looked clean, but the Package Manager remained. Reboot. 

I installed LabVIEW 2019.f2 64 bit (the same as on my development computer). But I clicked all modules and drivers that I need (FPGA, CRIO, Advanced Signal Processing, Sound and Vibration, Vision, Imaqdx, Xilinx). But I excluded the .net and C support and the virtual instruments like fungen and GPIB etc. After reboot I installed USRP 19.5. 

By the way, it is a big step in the history of LabVIEW that we can install it in (almost) one step instead of dj'ing a hole day. But you recommend it different. Maybe next year…;)   

I will remember your suggestions in case I run into further problems, but for now the downgrading to USRP 19.0 works. 

Thanks. 

In case you need a more detailed description of my installations let me know. I want to help that one day we will manage to install and upgrade LabVIEW in no more than one full day. 

0 Kudos
Message 4 of 5
(2,567 Views)

Congratulations!  I am currently doing yet another "complete uninstall-reinstall LabVIEW" on what I thought was my only "initial successful" LabVIEW 2019 installation, one I started at NIWeek 2019 when LabVIEW 2019 was released.  I had LabVIEW 2016, 2017, and 2018 installed on this machine, had trouble with NIPM and LabVIEW 2019, but (with the help of NI Support) thought I got it running.

 

So yesterday, I discovered that an NI Service that I required was not installed (the Authentication Service)!  So I am currently doing a "Remove all", will then do a "slow and patient Install All", and maybe by day's end, will have a PC capable of running several versions of LabVIEW, with all the NI Services intact.  

 

Bob Schor

0 Kudos
Message 5 of 5
(2,524 Views)