DaqAInScanBegin

>Psychtoolbox>PsychHardware>Daq

params=DaqAInScanBegin(DeviceIndex
Calls DaqAInScan with the options set to only begin, and not continue or
end. You should subsequently call DaqAInScanContinue (as many times as
you like) and, finally, DaqAInScanEnd to get the data. For example:
options.FirstChannel=FirstChannel;
options.LastChannel=LastChannel;
options.count=count;
options.f=f;
params=DaqAInScanBegin(DeviceIndex;
for i=1:frames
% add code here doing something useful
params=DaqAInScanContinue(DeviceIndex;
end
params=DaqAInScanContinue(DeviceIndex;
[data,params]=DaqAInScanEnd(DeviceIndex;
See also DaqAInScan, DaqAInScanContinue, DaqAInScanEnd,
Daq, DaqPins, DaqTest, PsychHIDTest.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychHardware/Daq/DaqAInScanBegin.m