Borrar filtros
Borrar filtros

NI-6221 DAQ: Exporting data

1 visualización (últimos 30 días)
Jesus
Jesus el 26 de En. de 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?

Respuestas (1)

Radhika
Radhika el 31 de En. de 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 ?

Categorías

Más información sobre Simultaneous and Synchronized Operations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by