Sign in to follow this  
Followers 0
franziski

Autoit And Ni-daqmx

4 posts in this topic




Was wondering if I can use NI-DAQmx C APIs:

http://www.ni.com/dataacquisition/nidaqmx.htm

with AutoIT.

Thanks

Download the latest beta version of AutoIT that supports COM. See if the help file discussion on COM objects, DllCall and VISA instrumentation UDFs are also of any assistance. If you can manipulate and read the properties and methods of a NI-DAQmx object, then you should be able to harness it quite powerfully directly from AutoIT.

Good luck!

Share this post


Link to post
Share on other sites

any kind of examples?

tried without success with NI USB 6501

Share this post


Link to post
Share on other sites

Work fine with the NI USB 6210 Device and so, for all NI device

You just have to use the fonction in the NICAIU.dll with "DllCall" from Autoit

the fonction in the NICAIU.dll are the same present in the NDAQmx.lib

For the détailled description refer to the NIDAQmx.h

The NICAIU.dll is present to the Windowssystem32 dir when you have intalled the NI-DAQmx software from Nationnal instrument website

If anyone want an example to getSérialNumber of the card or make an analogique mesure - send me a request and i will post the code

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0