Azzera filtri
Azzera filtri

NI-6221 DAQ: Exporting data

1 visualizzazione (ultimi 30 giorni)
Jesus
Jesus il 26 Gen 2011
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?

Risposte (1)

Radhika
Radhika il 31 Gen 2011
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 ?

Categorie

Scopri di più su Simultaneous and Synchronized Operations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by