Multiple sampling frequencies on one input device
2 ビュー (過去 30 日間)
古いコメントを表示
I am using the latest Matlab version (2013b) and I am wondering if it is possible to create two daq sessions with different channels from the same device and use two different sampling frequencies so I can measure them at the same time?
For example I am using a NIDAQ USB-6009 acquisition system and I would like to do something like this using only the one device:
channels 0,1,2 are part of one session and have a sampling frequency of 1,000 Hz. channel 3 is part of another session and has a sampling frequency of 10,000 Hz.
0 件のコメント
回答 (1 件)
John Doe
2013 年 10 月 29 日
You can use the matlab function "downsample(signal, 10)" or "decimate(signal, 10)" on channels 0-2 which will convert the signal data from fs=10000 to fs=1000 as it's read in. I believe one function (decimate I think) smooths the result and reduces aliasing.
I do not believe the hardware can be altered to run on two different sampling freqs.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Acquisition Toolbox Supported Hardware についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!