Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Using NI USB-6501 in .NET

Please could someone help me with using a NI USB-6501 from c# .net?

 

I just need to implement simple digital IO from an existing WPF C# application.

 

I do not require NI Measurement Studio.

 

I understand that a .NET wrapper is required for the dll and have found some example wrapper code from July 2005 here:

 

http://digital.ni.com/public.nsf/allkb/A21A013CA229A5988625703E0025A8AE

 

However I do not know where to find the required dll or even that the dll name is still correct. I have installed DAQmx from the supplied CD.

 

Another article:

 

http://digital.ni.com/public.nsf/websearch/F0FD13D2DD0C433986256D9C00468D29?OpenDocument

 

seems to suggest that I need to use the  CWDAQ ActiveX control. However, when I search for this control, it has not been registered even though I have run the CD installation program. 

 

0 Kudos
Message 1 of 2
(5,357 Views)
None of your comments make much sense. The first link refers to DAQmx Base and not the full DAQmx driver. The wrapper suggestion simply does not apply. The second link does refer to the shipping .NET examples but you chose to focus on the reference to the obsolete traditional daq. When you installed DAQmx, did you actually choose to install the .NET support? If you did, the examples will be in the referenced location.
0 Kudos
Message 2 of 2
(5,349 Views)