07-03-2023 03:17 AM
I am using NI-DAQmx with PXIe-4481 and PXI-1073. I want to acquire data using c++. When I installed the 32 bit library and dll was installed by default in my win11 64 bit system. I want to combine it with libtorch c++ which has 64 but libraries. Is there any way I can get 64 bit libraries for DAQmx? Also some examples of c++ codes in NIDAQ-mx
07-03-2023 08:25 AM
See Getting Started with NI-DAQmx for Text-Based Programming
For 64-bit libraries, change AdditionalLibraryDirectories="$(ProgramFiles)\National Instruments\Shared\ExternalCompilerSupport\C\lib32\msvc to (ProgramFiles)\National Instruments\Shared\ExternalCompilerSupport\C\lib64\msvc
07-03-2023 08:32 AM
There is no folder called ExternalCompilerSupport in "Shared" folder. The library in my case is in "C:\Program Files (x86)\National Instruments\NI-DAQ\DAQmx ANSI C Dev\include".
07-03-2023 08:42 AM
@viswa99 wrote:
There is no folder called ExternalCompilerSupport in "Shared" folder. The library in my case is in "C:\Program Files (x86)\National Instruments\NI-DAQ\DAQmx ANSI C Dev\include".
Make sure the package NI-DAQmx Support for C is installed. If it is not, go to the PACKAGES tab to install it.
07-03-2023 08:52 AM
I have it installed.
07-03-2023 10:45 AM
I am not sure why you don't have those folders. I would recommend you reinstall the DAQmx driver
07-03-2023 11:03 AM
Did it just now. I am using 2023 Q2. You?