02-07-2015 07:26 PM
I am trying to write a simple program in C++ that will be able to read temperatures in temperatures from the DAQ, (We are using NI 9213 24-bit Thermocouple Input modules). I have the NIDAQmx.h header file but it will take me a while to read through it just to understand how to simply get the temperature readings to the computer. If there's anyone who has already done this or knows an easy way to go about doing this, any help would be appreciated.
Thank you,
Tim
02-07-2015 09:35 PM - edited 02-07-2015 09:36 PM
Haven't you looked at the examples that come with the driver?
p.s. In the future, please post to the multifunction DAQ board.
02-18-2015 11:22 AM - last edited on 01-09-2024 02:23 PM by migration-bot
Hi Tim,
Unfortunately, the C++ DAQmx API is no longer supported. We do have C and C# DAQmx APIs. You can use the C API with C++ but you might want to consider C# as it is better suited for the Windows environment (if you are using Windows).
You will also need to install the DAQmx Driver to use its functionality in an application. Also, make sure to install the C/C# examples options in the installer. Please see below for more information.
https://www.ni.com/en/support/downloads/drivers/download.ni-daq-mx.html