Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

The VISA driver library cannot be found

When I launch my (release) application I get this error. I have verified that mstudio.msm is part of my deployment project.
Any help is appreciated.
Using V7.0
0 Kudos
Message 1 of 6
(4,770 Views)
From your post, it seems that this is happening on a machine to which you deploy your release application. Let me know if this is incorrect.

The Measurement Studio merge modules install only the .NET interface to the driver. You need to install the driver itself separately. You should have either an NI-VISA CD or a National Instruments Device Drivers CD from which you can install the driver. Please notice the licensing requirements for deploying the NI-VISA driver.

Let me know if you have any further questions.
0 Kudos
Message 2 of 6
(4,770 Views)
Yes, I am trying the installation on a different machine than my development PC. I am using SerialSession from the VisaNS namespace to talk to the serial port (special test mode). I suppose that this then requires a visa driver to be installed.
I will review the licensing requirements, but if I avoid talking to any hardware (and just use the custom controls), will I be ok to distribute my applications?
0 Kudos
Message 3 of 6
(4,770 Views)
I'll get you an answer on this question, but it might not be until the beginning of next week. What is your time frame for needing an answer. I assume you're testing now, but when do you need to deploy?

I have a couple of questions to clarify and things for me help us get you the right answer.

Does your application use anything from the VisaNS namespace other than SerialSession and its base classes?

What do you mean by custom controls? Are you referring to the Measurement Studio user interface controls?
0 Kudos
Message 4 of 6
(4,770 Views)
I am using MS in two ways: one to control PCI cards in my production test fixture.
The other application incorporates your user interface controls (knobs, LEDs, etc) in a .NET application that I'd like to ship for sale. This application interfaces with a USB device of my design, but I am also supplying the driver. I had assumed (incorrectly?) that I could package the user controls with my application.
I won't need to ship this app for a few months.
0 Kudos
Message 5 of 6
(4,770 Views)
You can deploy an application that uses the Measurement Studio user interface controls to any number of systems. The license for these controls is a development license; you can deploy any number of copies of applications that use these controls.

The licensing story for the NI-VISA driver is different. In most cases, you must have National Instruments hardware in each system to which you deploy the NI-VISA driver. However, if you use NI-VISA to communicate only with a serial port, you may deploy NI-VISA to up to 10 systems. If you need additional licenses, please contact your local sales representative to establish a volume licensing agreement. Feel free to post back here if you have additionanl questions.
0 Kudos
Message 6 of 6
(4,770 Views)