Data Acquisition Toolbox, single sample
조회 수: 2 (최근 30일)
이전 댓글 표시
Using Matlab's Data Acquisition Toolbox (and not using Simulink), how can i read and output single samples at a high rate, with the ability to adjust the data pseudo-realtime? I'm only looking for ~100 Hz. I'm familiar with streaming/acquiring large arrays of data at high rates, but i'd like to try controlling a system with a simple feedback loop -- so i'd like to only output and read one sample at a time.
Currently I get 1 Hz if just using the standard session.startForeground in a loop, with only one data point queued up for output. Why is it this slow?
I'm using a National Instruments USB-6215 DAQ.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 National Instruments Frame Grabbers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!