LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting a "DDE Master Control.vi" error, along with Load Error Code 21

I am attempting to isntall and run the IAEA Nuclear Reactor Simulators on my work machine.

 

The simulators are a proprietary code packaged in a Labview wrapper, and distributed as Labview EXE files.

 

I have installed (copied the files off the provided DVD...there is NOT an installer) them in the same location on two machines, both running Win7, one home, one office.  The only difference is the home machine is running Win7 64, and has a "Program Files (x86)" folder, where I installed it instead of "Program Files".

 

On the home machine, the simulator starts and runs BEAUTIFULLY on the first try.  

 

When attempting to run the EXE on the work machine, the simulators throw:

"An error occured loading VI 'DDE Master Control.vi'

LabVIEW load error code 21: An external subroutine required for execution could not be found."

 

A handful of times, then:

 

"A subVI is not executable.  The full development version of LabView is required to fix the errors."

 

The simulator then lands on the startup screen but will not initiate.  

 

The home machine has NO labview components installed, not even the Runtime environment, and it works fine.  As you can see, this is becoming quite confounding and frustrating.

 

I've attempted installing the RTE, VISA, and DAQ on the work machine to no avail.  

 

Any assistance is greatly appreciated.

0 Kudos
Message 1 of 4
(3,386 Views)

Hi Benjaming,

 

Please take a look at this KB which explains how to solve LabVIEW load error code 21.

 

LabVIEW Load Error Code -21 When Running an Executable
http://digital.ni.com/public.nsf/allkb/78579B0FAA17F92286256993006A6473

 


Regards,

 

William

Applications Engineer

National Instruments

0 Kudos
Message 2 of 4
(3,339 Views)

Thank you for your assistance, but I did not build this executable, nor do I have the source to build it locally.  It is a perfectly functional exe on all machines except those in our campus network.  

0 Kudos
Message 3 of 4
(3,330 Views)

benjaming

 

Try to install Microsoft Visual C++ Redistributable packets, maybe one 2005 packet is enough. There's a CIN in DDE Master Control.vi which could be compiled in different environment than you have on work machine. Also you should check where OS temporary directory resides because CINs are extracted there by LabVIEW.

0 Kudos
Message 4 of 4
(3,311 Views)