Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-Visa implementattion not found (nivisa64.dll)

I am developing a c# application which connect and automate a signal generator using NI_Visa. 

Application works fine in my development PC where NI-Visa is installed.

1. References:   ivi.Visa, NationalInstruments.Visa
2. using NationalInstrument.Visa;

I am sharing executable as well as DLLs to the user.

Error in user PC:
NI-Visa implementation not found
System.DLLnotfoundException, unable to load 'nivisa64.dll'

How do I include  nivisa64.dll with the executable for deployment?

(I cant ask the user to install NI_visa or other drivers in their machine)

 

0 Kudos
Message 1 of 2
(1,409 Views)

Hi Vyshakh,

 

Did you already review this article: After Installing 3rd Party VISA Software NI-VISA No Longer Works.

 

How did you deploy your application? Did you create a msi with the Installer Builder and run it on the target pc. Did you verify that the driver is installed on the system? What version of NI-VISA are you using?

 

Regarding your question, you cannot include the driver with the executable, you need to install it on the target pc so you have two options:

1- Download the VISA runtime from here.

2- Deploy the driver using the Installer Builder following the instructions here.

 

0 Kudos
Message 2 of 2
(1,369 Views)