Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI DAQmx Vs VC++ for DAQ programming? (In terms of minimum acquisition time per channel)

Which one of the following is better??

  • NI DAQmx
  • VC++

Considering the minimum acquisition time (resolving/sampling time) per analog input channel. And which one will have more delays during program execution?

 

Thanks.

 

Regards

WAQAR

 

0 Kudos
Message 1 of 4
(3,111 Views)

Hello Waqar, 

 

I am a little confused by your question. NI DAQmx is a driver needed to communicate with National Instruments Data Acquisiton Hardware, while Visual C++ is a programing environment. In order to communicate with our Data Acquistion Hardware you will need to choose a programming environment (such as Visual Studio, LabVIEW, LabWindows/CVI) and make funciton calls to the NI DAQmx driver. I hope my statements above answers your question. Please feel free to post back if you have further questions regarding this issue. 

 

Best Regards, 

 

Izzy O. 

Applications Engineer

National Instruments

ni.com/support

 

0 Kudos
Message 2 of 4
(3,105 Views)

Hello Izzy O. Thanks for your reply.

Thanks a lot for the correction. I would modify the subject of my question,

 

"LABVIEW Vs VC++ for DAQ programming, considering minimum programming delays/overhead"

 

 Thanks

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

Hello Waqar,

 

Please take a look at this article for a high level comparison of the two languages.  

 

I would point you towards LabVIEW but I am a little biased since this is my preferred and most utilized programming environment. The ease of programming, copious examples via the LabVIEW example finder and on the web, and the formal training we offer in using LabVIEW and Data Acquisition (with LabVIEW) are the reasons behind my recommendation.  

 

Although a question I have to pose to you is the timeline for your project, how familiar you are with VC++ vs. LabVIEW?  If you are more proficient with programming in Visual C++ and have limited time to learn (such an awesome language like) LabVIEW I would point you towards NI Measurement Studio (not required but highly recommended) for utilizing a VC++.NET language to communicate with NI Hardware. Please peruse the page along with the links under Learn to gather more information about Measurement Studio. Also, we have dedicated forums for the Measurement Studio environment and examples for getting started.

 

To directly answer the question stated in the subject (the above two paragraphs addressed the programming delay) there is no difference between the two in terms of minimum acquisition time per channel.  I hope this answers your question or at least gives you the resources to point you in the correct direction.

 

Best Regards,

 

Izzy O.

Applications Engineer

National Instruments

ni.com/support

 

P.S. A cause for concern with Measurement Studio or VC++.NET is a lack of support when using a Real Time Operating System with the Stand-Alone cDAQ

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