From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Daqmx C-API 64-Bit Version

Hi,

 

I'm struggeling with a older Excel VBA application which is supposed to run on a new LapTop. Unfortunately this Laptop comes with a 64-Bit Office. Now DAQmxRegisterEveryNSamplesEvent is causing an type mismatch for the parameter of the callback handler. I think this comes because a 32-Bit address is expected by the fuction.

 

Is there a 64-Bit Version of the C-API or an other solution.

 

With kind regards,

 

Alex

 

0 Kudos
Message 1 of 3
(2,599 Views)

DAQmx is certainly as 64-bit version available. Which DLLs do you try to load, from which path?

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(2,107 Views)

Having  issues with Ni DAQmx control from 64 bit excel  VBA.  The DLL  excel VBA referencing is C:\Windows\sysWOW64\nidaqmx.tlb.

This works well for Excel 32 bit, but not on Excel 64 bit. As all of our new computers are loaded with Excel 64 (64 bit office), we are stuck..

Appreciate if NI can get us a driver that works with 64 bit applications.

0 Kudos
Message 3 of 3
(1,822 Views)