Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2181

USb 6501 control with Excel 64 bit

$
0
0

Hello,

I am using USb 6501 to control various inputs on my board using the below Excel VBA code.

https://forums.ni.com/t5/Example-Code/Using-DAQmx-with-Microsoft-Excel-Visual-Basic-for-Applications/ta-p/3518041

This works fine with  32 bit excel on 64 bit Windows 10 PC. But this code doesn't work with 64 bit Excel on Windows 10 64 bit PC. Tried to modify the code as per suggestions from google search (Like changing "Long" to "LongPtr" etc..) and is not helping. Any changes in NI DAQmx C API needed?

Really appreciate a help on this so that I can control USB 6501 using 64 bit Excel VBA.

Thanks,

Leyo


Viewing all articles
Browse latest Browse all 2181

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>