Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

multi device synchronization and trigger manipulation through matlab

I am using NiDAQmx driver 8.6. The nicaiu.dll does not appear to be included with this version of the driver. I would like to control S-series NI devices through matlab 7.2. I need to synchronize multiple devices and to trigger them all simultaneously. The Matlab Data Acquisition toolbox (ver 2.8.1) seems to allow control of the trigger sources for each device. But it does not seem to support manipulation of the trigger channels directly. For example, there is no straightforward way to interface with RTSI nor PFI channels. My thoughts are that I must interface with the driver C functionality as an entry point to driver through matlab. The only way I have found to accomplish this in my searching is through matlab loadlibrary command which calls for the usage of 'nicaiu.dll'.

loadlibrary('nicaiu.dll','nidaqmx.h','alias','myni');

Hence I would like to know how to obtain the 'nicaiu.dll'. The 'nidaqmx.h' is included in the driver software. Or I am all ears to entertain other means of trigger control and manipulation through matlab. And, no I am not interested in any Labview solution. I am hoping the NI has provided a means for interfacing in a straightforward manner with their equipment that does not require LabView.
0 Kudos
Message 1 of 2
(3,608 Views)
Hi,

Please do not cross-post the same question in different threads: a lot people consider that rude Internet etiquette. We'll continue in this thread:

Access NI-DAQmx drivers with Matlab "loadlibrary" function
Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 2 of 2
(3,595 Views)