03-26-2015 01:22 PM
Hi, I am using Visual Basic 2013 on .NET Framework 3.5. If I use the reference of VS2010 Commom.dll and DAQMx.dll, I got the error:
'Could not load file or assembly 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.'
So I changed the reference to VS2008 Commom.dll and DAQMx.dll, the above error message was gone, but I got the different error :"Type AnalogWaveform is not defined".
Please advise which reference I should use. My project reqires .NET Framework 3.5
Thanks
Xiaoliang
03-26-2015 01:38 PM
I was able to fix it by put the line of Imports NationalInstruments
Best,
Xiaoliang