12-22-2009 01:56 PM
We have written an application using DAQmx 9.0.35.6, but we are deploying to versions which may be as old as 8.6.x.
On our first test install, the software hangs at load. We have narrowed it down to the Task() constructor, which never finishes. We get no errors, exceptions, or crashes ...
Solved! Go to Solution.
12-22-2009 08:15 PM
The answer is appears to be the .NET framework support between version 9.x and previous versions.
In the 8.x series, .NET support only goes up to 2.0. 9.x supports .NET 3.5. Additionally, when packaging the software, two new dlls will be added:
NationalInstruments.DAQmx.CommonObjectModel.dll
NationalInstruments.DAQmx.dll
These dlls are not supported on pre-9.x driver installations.
The symtom is that calls to the Task() constructor (under c#, at least) fail silently.
The solution is to have the customer upgrade their driver version to 9.x, which is an easy 1320 MB (most comprehensive drive EVAR). From my experience .NET 3.5 support should be selected by default, but it doesn't hurt to have the customer explicitly check for this.
12-23-2009 09:48 AM
The other option would be to have your customer just upgrade to the Core Runtime (if they don't need MAX) which is about 140 MB or Config Runtime (if they do need MAX) which is about 563 MB.
If they have an 8.x version of NI-DAQmx already installed, they'll need to uninstall it first, then install one of the runtimes above. After that though, if they need to upgrade driver versions, they can just install the appropriate upgraded version (Full, Core, or Config) and the appropriate components will be upgraded.
This might make the process a bit easier.
Regards,