PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQmx

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

0 Kudos
Message 1 of 7
(990 Views)

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

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 2 of 7
(963 Views)

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".

0 Kudos
Message 3 of 7
(960 Views)

@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.

ZYOng_0-1688391735700.png

 

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 4 of 7
(957 Views)

daqmx.png

 I have it installed.

0 Kudos
Message 5 of 7
(954 Views)

I am not sure why you don't have those folders. I would recommend you reinstall the DAQmx driver

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 6 of 7
(943 Views)

Did it just now. I am using 2023 Q2. You?

0 Kudos
Message 7 of 7
(940 Views)