08-05-2011 02:57 PM
08-08-2011 06:25 PM
Hi Sethn,
What data aquisition card are you using? Were you able to see it in Measurement and Automation Explorer before? If the install went well it should work just fine. Did you have Visual Studio and Measurement studio installed on your computer before you installed the DAQmx driver?
Regards,
Perry S
08-09-2011 09:03 AM
08-10-2011 10:46 AM
Hi Sethn,
That would be the most complete fix. The order of installation is .NET frame work and addons to it first and drivers last.
Regards,
Perry S.
08-13-2011 04:08 PM
Hi Perry,
I uninstalled everything and was able to reinstall .NET 4.0 okay. Trying to reinstall NI-DAQmx 9.3 gave me the error:
Measurement Studio for VS2010 Integration not present To use the NI-DAQmx .NET Framework 4.0 Languages Support Visual Studio Integration feature, you must install the Measurement Studio .NET 4.0 Languages Support>>Visual Studio Integration feature in the Measurement Studio installer. Measurement Studio Professional Edition or higher must be installed and licensed on the system for this feature.
I was, however, able to install the NI-DAQ F/T Software from the ATI disk, as well as the 9.0.40.610 directory containing:
NationalInstruments.Common.Native.dll, NationalInstruments.DAQmx.dll,
and in the 9.3.40.219 directory:
NationalInstruments.DAQmx.dll .
Do I still have all the components to be able to make this work? I also noticed that NI-DAQmx 9.4 is available on ni.com. Would it be helpful to try installing this?
Thanks again for your help,
Seth
08-16-2011 10:09 AM
Hi Sethn,
Do you have Measurement Studio installed on your machine? As far as DAQmx driver 9.4. It is always better to have the latest version of the driver compatible withy your hardware and software.
Perry S.
08-16-2011 02:31 PM
Hi Perry,
I do not believe I have any special disk or file to install Measurement studio. Is measurement studio necessary to work with the .NET framework?
I'm guessing that on the XP machine, development was done through VB 6 which I was hoping to avoid.
Thanks,
Seth
08-17-2011 06:21 PM
Hi Sethn,
I think that to fix your issue you need to modify your driver install. When you go to un-install software on your computer you should have the ability to modify an installation. If you go to the NI-DAQmx Driver and modify the .NET 4.0 support to exclude measurement studio support you should not get that message again. I hope that this helps.
Regards,
Perry S.
08-18-2011 01:30 PM
Hi Perry,
I had to exclude the 4.0 to get them to install.
Currently, in my Assemblies (64-bit) directories, I have:
9.0.40.610
9.1.40.159
9.4.40.50
The only directory that contains NationalInstruments.Common.Native.dll is the 9.1.40.159. Adding this reference and the DAQmx.dll reference from the 9.4 directory still gives me the same namespace error that Common does not exist in the Namespace.
As a side note, when typing the using statement, typing NationalInstruments appears to give me access to DAQmx and Restricted, but no Common...
I'm not sure if that provides any more information.
Thanks again,
Seth
08-19-2011 08:57 AM
Hi Perry,
I believe I have something working now.
I'm not sure if it was the update, or the order of installation etc. but the statements:
using NationalInstruments;
using NationalInstruments.DAQmx;
got rid of the errors and allows the program to run. I think another thing that helped was that the update allowed me to add the DAQmx reference from the .NET menue instead of having to manually browse and find the .dll.
Thanks again to you and everybody else who helped. It's greatly appreciated.
Seth