|
I managed to get multiple channel acquisition spanning
multiple boards working using the NI-DAQmx Tools available
from the NI website
(http://zone.ni.com/devzone/cda/tut/p/id/3005) and the
following code :
Physical_Channel = 'PXI1Slot2/ai0:7, PXI1Slot3/ai0:7';
Minimum_Value = -10;
Maximum_Value = 10;
Sample_Rate = 2000;
Measurement_Time = 3;
Samples_per_Channel = Sample_Rate * Measurement_Time;
Timeout = -1;
[data, time, initial_time, timed_out] =
AcqNUpdates(Physical_Channel,
Minimum_Value, Maximum_Value, Samples_per_Channel,
Sample_Rate, Timeout);
It seems to me, however, that this toolbox is a series of
interfaces into compiled ".dll" files, and that, for
example, the callback/continuous calculation functions of
the data acquisition toolbox are not available through
MATLAB code. Is this correct ?
I'd like to be able to do continuous processing of my
acquired data, and update a MATLAB plot window with the
results using all 16 available channels on my two PXI-4472
cards. Is this possible with either the NI-DAQmx tools, or
the Data Acquisition Toolbox ?
Thank you for any help,
Chris
|