Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Double buffer acquisition of multiple channels with C++

I used the C++ example code for double buffering and it worked perfectly. Now I would like to use double buffering (for continuous data acquisition) for multiple channel. Is there any C++ (Visual or Borland) code available for this situation? If not can anyone give me some hints in how to do it. I'm using a DAQ-6036E card.
Thanks,
Jose Lorga
0 Kudos
Message 1 of 4
(3,565 Views)
Jose,

Besides the shipping examples that come with the NI-DAQ driver, our website is a fabulous resource for examples. Take a look at the following example that I have found in our Development Library.

Double-Buffered Asynchronous Scanning in Microsoft Visual C++ with NI-DAQ
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D97F56A4E034080020E74861&p_node=DZ52302&p_source=external

Or, you may search through our Development Library for more examples.

http://zone.ni.com/devzone/devzone.nsf/6ae7945502d89dea0625685500506e1f/4d58b1b80ec41ef70625683f006e1d6d?OpenDocument

Regards,
Justin Britten

Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,565 Views)
Thank you a lot for the help. Now things are running very well.

JLorga
0 Kudos
Message 3 of 4
(3,565 Views)

Hello,

 

I am solving similar task considering double-buffering. Would it be possible to post a code snippet for sample using C++ with NI-DAQ?

 

Thank you very much,

 

Rasto

0 Kudos
Message 4 of 4
(3,058 Views)