PCI-6251: speeding up analogue input and output
2 views (last 30 days)
Show older comments
I want to use Matlab to try out a real time control idea. I've found an old National Instruments data acquisition card PCI-6251 which connects directly to the PCI bus (no USB latency) so I expected it to run quite fast.
However, running in a loop:
tic;
for i=1:1000
vIn=s.inputSingleScan;
vOut=2*vIn;
outputSingleScan(s,vOut);
end
toc
takes over 3 seconds to run, (i.e. 3ms per cycle). Any suggestions on how to make it run faster?
Alternatively, would it run quicker using digital I/O. I would not mind using external ADC/DAC to speed things up.
0 Comments
Answers (0)
See Also
Categories
Find more on National Instruments Frame Grabbers in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!