Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Application init error

Hello
 
I am a programmer in VisualC++ using the NI-DAQmx6501 device (USB connection).
 
First, i installed the NI software that come with the device on CD.
 
Then, in my MFC application i include NIDAQmx.h file and link with NIDAQmx.lib file.
 
My application Read/Write successfully from/to the device in the PC where NI software is installed.
 
The problem is when i try to run on another PC (after adding all the requested DLL's to the application directory) i receive windows error: Application failed to init properly (0xc0000142)...."
 
What should i do to run my application on other PC without an installation of NI software?
 
Shmulik
0 Kudos
Message 1 of 2
(3,369 Views)


@Shmulik wrote:
Hello
 
I am a programmer in VisualC++ using the NI-DAQmx6501 device (USB connection).
 
First, i installed the NI software that come with the device on CD.
 
Then, in my MFC application i include NIDAQmx.h file and link with NIDAQmx.lib file.
 
My application Read/Write successfully from/to the device in the PC where NI software is installed.
 
The problem is when i try to run on another PC (after adding all the requested DLL's to the application directory) i receive windows error: Application failed to init properly (0xc0000142)...."
 
What should i do to run my application on other PC without an installation of NI software?
 
Shmulik


Hi Shmulik,

You need to use the installer to get DAQmx to work.

Jeff
0 Kudos
Message 2 of 2
(3,365 Views)