フィルターのクリア

NI-6221 DAQ: Exporting data

1 回表示 (過去 30 日間)
Jesus
Jesus 2011 年 1 月 26 日
I'd like to acquire some data using a NI-6221 DAQ and the Real-Time Windows Target toolbox.
The analog input block seems to be working OK as I can see a waveform using the scope, but I don't know how I could export the acquired data to the workspace (the scope itself just exports a few sample, I'd like to acquire 10secs).
I've just found out that the "To Workspace" block fails to do that and the "To File" block is not supported by the toolbox.
Is it possible to do what I want? How could I do it?

回答 (1 件)

Radhika
Radhika 2011 年 1 月 31 日
You should be able to use the "To Workspace block".You can choose to return data as a structure or array. For e.g. if simout was the variable used by the block to return data as a structure this is what you could do,
data=simout.signals.values;
In what way does the "To workspace" block fail ?

カテゴリ

Help Center および File ExchangeSimultaneous and Synchronized Operations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by