Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx VS2008 .net 3.5

I am not finding active support for DAQmx with Visual Studio 2008 and .NET Framework 3.5.  Do I have to go back to .NET Framework 2.0?  If so, I'm not sure what needs to be done.  I have installed DAQmx v. 8.9.35.8.  For example, when I try to create a task with DAQmxCreateTask I'm told that it's not declared -- and there's no reference in the Object Browser.  What am I missing?  Thanks.
0 Kudos
Message 1 of 2
(3,449 Views)

Howdy Tom,

 

DAQmx 8.9 definitely supports .NET Framework 3.5, but you do have to specifically say that you want it installed.  Here's a snippet from the DAQmx readme talking about Visual Studio Support.

 

DAQmx Support.jpg

What has most likely happened is you installed Visual Studio after DAQmx 8.9.  To check, see if there are any examples installed in the Start » All Programs » National Instruments » NI-DAQ » Text Based Code folder.  If there aren't, you'll have to reinstall DAQmx 8.9, making sure to include support for .NET 3.5.  If there are, take a look at one of them to see the syntax you need to call everything properly.

 

Thanks, and please post back if you have any further questions!

Sincerely,

Chris G in AE
0 Kudos
Message 2 of 2
(3,431 Views)