ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ordinal 2011 error going from dev. to .exe

Going from development system to .exe system I get an "Ordinal 2011 could not be found in nidaq32.dll" error. Is this related to the use of NI-VISA configure serial port? Can I use VISA in an executable?
0 Kudos
Message 1 of 4
(2,730 Views)
You definitely can use VISA in an executable, however you need NI-VISA on your target machine in order to run the program successfully. Have you made sure that NI-VISA is installed on your target? If it already is, we'll troubleshoot the problem further.

Logan S.
0 Kudos
Message 2 of 4
(2,717 Views)
LoganS Thanks for the info. I haven't have a chance to get back to look at the .exe, but I think I had the NI-VISA on the target machine. Let me ask you this, can that(NI-VISA)be part of the installer that you create at the time you create the .exe.
0 Kudos
Message 3 of 4
(2,703 Views)
Yes and no. Currently, you can't just select an option in the Application Builder to install NI-VISA as part of an application installation. However, you can include a the NI-VISA Run Time Engine (RTE) setup and other necessary files in your build, and call a batch file afterwards which runs the installation. The following KB for more information about this (it references LabVIEW 6.1, but it should still work for later versions).

How Do I Distribute National Instruments Drivers with LabVIEW Installers?

Logan S.
0 Kudos
Message 4 of 4
(2,692 Views)