Code testing without DAQ Hardware
古いコメントを表示
Is there a way to test/develop daq code without any available hardware (including 'winsound'). My students have access to virtual machines which do not have sound cards available. I would like them to be able to have some sort of "fake" analog input.
A kind of virtual experiment would be the ultimate but anything even a bunch of zeros would work. Ideally I would supply some sort of dynamic waveform which they would acquire (sample with DAQ type setting of input range and sampling freq) and process as if in the lab performing an experiment. Then they could show up in lab with more functional code and actually do the experiment with real hardware a bit more efficiently.
This is an instrumentation and dynamic systems lab (MATLAB, Simulink and QuaRC based) with everything from thermocouples and vibrating structures to QBOTS...
Thanks in advance...
Scott
1 件のコメント
bym
2012 年 1 月 27 日
In my experience, the interfacing of the daq to the host program is where the 'rubber meets the road' and can't be simulated to any great benefit. Labview can 'simulate' a lot of their data acquisition devices, but I almost never use that functionality. A quick search of the internet turned up a US$20 thermocouple device. Is that a possibility?
採用された回答
その他の回答 (1 件)
Walter Roberson
2012 年 1 月 27 日
0 投票
In theory you could write a device driver which claimed to be a sound device (or A/D converter) and which extracted the samples from a file.
I don't think it would be especially fun to do that. :(
カテゴリ
ヘルプ センター および 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!