Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Type AanalogWaveForm is not defined

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

 

 

0 Kudos
Message 1 of 2
(4,454 Views)

I was able to fix it by put the line of Imports NationalInstruments

 

Best,

 

Xiaoliang

0 Kudos
Message 2 of 2
(4,451 Views)