Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent apllication crash when DAQmx driver missing

Hello

 

I have written a c# program with the option to measure data via USB-6215 and DAQmx driver when available. (NationalInstruments.DAQmx.dll)

Problem is that when no DAQmx driver is installed the program doesn't start.

 

Is there a simple way to prevent this.  I am not so familiar with dynamic dll load. Has someone an example?

 

Thanks Jan

0 Kudos
Message 1 of 2
(87 Views)

You need to have a startup application that checks for the dependencies and, once satisfied, calls the main application; thereby, you can avoid the crash.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 2
(75 Views)