Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Traditional NI-DAQ in Measurement Studio (C#)

Hi

I am using traditional NI-DAQ (DAQPad 6020E) to acquire acceleration responses using C#. Since my data acquisition hardware is not supported in NI-DAQmx, I have to use traditional NI-DAQ. In order to use traditional NI-DAQ with C#, I need to use ActiveX control. I am a new user so if some one can point some resources for use of ActiveX in C#, then It will be of great help to me.


My application needs to transfer responses from data acquisition system to a database in real time, which require capturing of acceleration data. I need any help to do that.


Regards

Manoj
0 Kudos
Message 1 of 4
(3,437 Views)
I am using Measurement studio 7.0.

Manoj
0 Kudos
Message 2 of 4
(3,433 Views)
Hi Manoj

The traditional NI - Daq is just a DLL so you could call it in C#. A bit rusty myself as I have not done much coding latley.
You need to look at the MS samples or a good MS book.
Still NI could have been more helpfull here with some sample. (perhaps they havev as I have not looked)

Regards
Colin
You could also make a C++ assemply and use that.
0 Kudos
Message 3 of 4
(3,418 Views)
There is a Traditional DAQ ActiveX control that you can use that comes with the Traditional DAQ Driver. Check out this KB for more information. It's also easier to use than making the DLL calls.
Bilal Durrani
NI
0 Kudos
Message 4 of 4
(3,394 Views)