session based interface pause

2 visualizaciones (últimos 30 días)
mado
mado el 20 de Feb. de 2014
Comentada: Walter Roberson el 24 de Feb. de 2014
how to make pause for session based interface while running ?

Respuestas (1)

Walter Roberson
Walter Roberson el 22 de Feb. de 2014
By default, the IsContinuous property is set to false and the operation stops automatically. If you have set it to true, use daq.Session.stop to stop background operations explicitly.
  2 comentarios
mado
mado el 24 de Feb. de 2014
i want to pause for 60 seconds and then resuming acquiring?
Walter Roberson
Walter Roberson el 24 de Feb. de 2014
You could set a timer() object to fire in 60 seconds that re-started the data acquisition.
It appears to me that sessions are not designed to be paused in this way; I do not know what the underlying representation is, so I do not have any idea how hard it would be for Mathworks to implement.

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by