LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compiled VI fails under run time engine

i have a VI that uses the NI CAN drivers to control an NI CAN interface; i am trying to distribuite this VI as an executable to several computers onto which i have installed NI CAN and the Labview runtime engine.  at first, the compiled .exe would fail, saying that it could not locate the CAN read VI.  so i added all the CAN libraries to my project, set them as "dynamic vi" in the build preferences, and rebuilt the project.  when i run the exe on a system with the full version of labview, it runs with no errors.  however, when i attempt to run it under the runtime engine, i get a cryptic error:

VI has an error of type 2228.
The full development version of labview is required to fix the errors.

any idea what could be causing this?  that error code doesn't seem to turn up any search results.

thanks.
Ben.
0 Kudos
Message 1 of 5
(3,429 Views)
Hi Ben,
It sounds like you need to install the NI-CAN driver on the target PC.


Regards,
John E.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 5
(3,408 Views)

I get the same error and a broken run arrow when I try to run a simple data logger using daqmx to log one strain gauge and a couple of pressure sensors. It works fine with any PC with LabVIEW on it , doesn't even have to be full dev. system, but doesn't work with run-time engine only.

 

VI has an error of type 2228.
The full development version of labview is required to fix the errors.

 

Could you please give more details on what error 2228 means and how it indicates that drivers are required?

0 Kudos
Message 3 of 5
(3,055 Views)

Scott Robertson wrote:

 

.... , but doesn't work with run-time engine only.

 


 

Since you are using DAQmx, don't you think you need to install that along with the LabVIEW run-time?

Message Edited by Dennis Knutson on 10-07-2009 10:38 AM
0 Kudos
Message 4 of 5
(3,052 Views)
Yes, it's normally a good idea to install DAQmx is installed an  and the .exe works on the target machine if built with
0 Kudos
Message 5 of 5
(3,045 Views)