02-12-2008 01:59 PM
02-13-2008 02:31 PM
Hi MikeF_cetr,
As far as I can tell there is no nice and “clean” documented way to check for the installation of DAQmx. There are several DAQmx calls to check the version number, and see what devices are installed, but none to check for the installation of the software itself.
One suggestion would be to do a query for one of the registry keys that are installed when DAQmx is installed. The DAQmx registry keys are located in \HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\NI-DAQmx. You could check for the folder, for the default key, or for any of the other keys located in this folder.
02-13-2008 02:37 PM
Thank you Thomas!
@J_Thomas wrote:Hi MikeF_cetr,
As far as I can tell there is no nice and “clean” documented way to check for the installation of DAQmx. There are several DAQmx calls to check the version number, and see what devices are installed, but none to check for the installation of the software itself.
One suggestion would be to do a query for one of the registry keys that are installed when DAQmx is installed. The DAQmx registry keys are located in \HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\NI-DAQmx. You could check for the folder, for the default key, or for any of the other keys located in this folder.