LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Load Error Code 3

When building a stand alone executable I get several errors of the type:

 

An Error Occured loading VI'DAQmx Clear Task.vi". 

Labview Load Error Code 3:  Could not load front panel

 

Now I am building an applicatin and installer.  I include the DAQmx installer.  I do not call the front panel during execution.

 

The ones I get an error for are:

DAQmx Clear Task.vi

DAQmx Read (Analog 1D Wfm Nchan Nsamp).vi

DAQmx Start Test.vi

DAQmx Timing (Sample Clock).vi

DAQmx Create Channel(TEDS-AI-Voltage-Basic).vi (Not even using this in the program)

DAQmx Create Channel(AI-Voltage-Basic).vi

DAQmx Create Task.vi

 

 

Any help is appreciated.

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

Just to clarify, are you getting these errors when you build the executable, or when you try to run it?  If it occurs at runtime, does it occur on your development machine or the remote machine?

 

Also, how are you doing your error handling?  Are you passing the error cluster of your DAQmx tasks to a simple error handler or do the messages just pop up?  Finally, when you run the VI (not as an executable) do any windows pop up prompting you for information?

 

I'd also recommend reviewing this KB on that error message.

Seth B.
Principal Test Engineer | National Instruments
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 2 of 4
(3,556 Views)

Hello [archeologic topic]

I've this same error with a particular configuration :

 

I've created a VI under labview 2014 (14.0.0f11 32bits) / windows 7 pro SP1

using DAQmx (17.6.0 : apparently the last compatible with labview 2014)

 

Now I want to use this compilated VI on an old computer under XP 2002 SP3.
For this I have installed on this machine :

- NIDAQ1511f3

- NIVISA1500runtime

- NIPXIPSRuntime1510

 

nb : I don't installed DAQmx 17 because it wants a windows 7

 

But when I want to use the .exe, I get this kind of error message

"An error occurs loading the VI 'DAQmx Timing (Sample Clock).vi'

Error 3 on loading : Impossible to load the front face"

 

I suppose it's a DACmx version issue, but I don't no if there is a solution for running a Vi created under seven on an XP.

 

any idea ?

 

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

Be sure to read each of these links to you know you have a combination that works.

 

https://www.ni.com/en/support/documentation/compatibility/21/ni-hardware-and-operating-system-compat...

https://www.ni.com/en/support/documentation/compatibility/16/ni-daqmx-and-labview-compatibility.html

https://www.ni.com/en/support/documentation/compatibility/17/labview-and-microsoft-windows-compatibi...

 

I think your problem is that you are building an executable based on the DAQmx 17.6 on your development machine.  But that means you need to have DAQmx 17.6 on your deployed machine, but that is not compatible with Windows XP.

 

You should  uninstall DAQmx 17.6 and install DAQmx 15.1 or 15.5.1 on your development machine.  15.5.1 is the latest DAQmx can install onto a WinXP machine.

0 Kudos
Message 4 of 4
(2,869 Views)