Multiple sampling frequencies on one input device
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
John Doe
il 29 Ott 2013
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 Commenti
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!