Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ configure from Labview, aquisition from DLL

Solved!
Go to solution

Hello ,

 

I am wondering if it possible to make configuration of  NI DAQ card from labview, but make data aquisition from DLL written in C++?

 

michael

_________________________________________________________________________________________________
LV 8.2 at Windows & Linux


0 Kudos
Message 1 of 6
(3,654 Views)

Hi Mishklyar

 

Generally when you create a task and configure it in LabVIEW you will have to use that task in LabVIEW. What you may want to do, is configure your tasks in Measurement & Automation Explorer, save them, and then access these task from your C++ code.

 

I hope that helps, let me know if you have any further questions.

 

Thanks

Scott M.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,634 Views)

Thanks Scott,

I will think about it,but  will it work also with buffered analog output? ( everytime different data is loaded)

_________________________________________________________________________________________________
LV 8.2 at Windows & Linux


0 Kudos
Message 3 of 6
(3,595 Views)

Hi Mishklyar,

 

You can create Analog Output task in Measurement & Automation Explorer aswell, you can then use this task to out put different data, so long as you want to use the same output paramteres (Generation Mode, Rate, ect.).

 

Thanks

Scott M.

Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,580 Views)
Solution
Accepted by mishklyar

Just an additional option:

 

If your task creation/configuration needs to be programmatic in LabVIEW, you can use the "Storage VIs" under Measurement I/O>>NI-DAQmx>>Advanced>>System Setup>>Storage to programmatically save a task.  Then from C++, you could just load that task.

Thanks,

Andy McRorie
NI R&D
Message 5 of 6
(3,561 Views)
Thanks 🙂
_________________________________________________________________________________________________
LV 8.2 at Windows & Linux


0 Kudos
Message 6 of 6
(3,533 Views)