Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to compile example DAQmx programs on Windows

Hello,

First of all, I have very limited knowledge about C, so this question might be a very basic one. I am working with a USB 6361 DAQ and an ATI F/T sensor. I am able to use the MAX application to read voltage values from the sensor. The next thing I want to do is to send the voltage values to a C program to convert them to force values. I wanted to achieve this by writing/using the example C program provided by NI. But I cannot seem to get them to compile. I am using on windows 10 and I am using Visual Studio 2022 to run the Acq-Int Clk project file.

When I first tried to build the project I got an error that the NIDAQmx.h file could not be found so I went to the project properties and added the path to the header file to the "additional include directories". Then the program complained about not finding the NIDAQmx.lib file and I was able to solve this by adding the path to the library file to the "additional library directories" of my project properties. Now the get this error "Error LNK2019 unresolved external symbol" on all of the DAQmx functions. I found this link that is about the exact problem that I have but unfortunately I was not able to complete the solution steps on visual studio 2022 because the location for the settings have been changed or removed.

Does anyone know how to build and run the example projects on a windows 10 computer?



0 Kudos
Message 1 of 1
(1,108 Views)