03-25-2009 08:39 AM
Hi all,
I have a Visual C# application that was built on a computer with NI-DAQmx 8.9. Installing on a computer with NI-DAQmx 8.7 causes the program to crash. Is there a way to programmatically check the user's NI-DAQmx version before running, to provide a warning?
Thanks,
John
03-26-2009 04:02 PM
Hi jrolston,
Yes, you can programmatically call the DAQmx version. Call the DriverMajorVersion and DriverMinorVersion.
NationalInstruments.DAQmx.DaqSystem test = new NationalInstruments.DAQmx.DaqSystem();
double test2 = test.DriverMajorVersion;