02-10-2022 06:33 PM
Hi! I am trying to make a program using Excel VBA to generate and acquire voltage using USB-6211. I prefer to use Excel VBA for quick analysis on the results like slope calculation. I hope anyone can help. Thank you very much.
05-16-2023 01:12 AM
Hi,
There is a forum example that uses Excel VBA with DAQmx functions. This can be a good start to test with VBA.
Using DAQmx with Microsoft Excel Visual Basic for Applications (VBA) - NI Community
Another approach is to refer to the available shipping examples when you installed LabVIEW with DAQmx.
From here, you need to change the code to make it VBA like from VB.NET syntax and also recontruct the interface to match it with the shipping example.
Gus
NI Technical Support