What does "single scan" mean in the DAQ tool box? For example, if I use "OutputSingleScan([1])", does this generate "1" only once or it keeps generate in a certain interval?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 6 de Mzo. de 2014

0 votos

You get a single output event, not repeated.

3 comentarios

Yoichi Watanabe
Yoichi Watanabe el 6 de Mzo. de 2014
Then, how do I generate "1" every 10 ms with width of 2 ms?
Walter Roberson
Walter Roberson el 6 de Mzo. de 2014
I do not know if I will be able to figure that out. To check, this is for an analog output channel?
Walter Roberson
Walter Roberson el 6 de Mzo. de 2014
If you were to use the legacy interface, then see http://www.mathworks.com/help/daq/ref/repeatoutput.html
With the session based.. I don't see any information. Potentially by using a timer() and single scan output each time. I suspect this is a case where you would not want to drive off of a session event, as I am not sure that the session events can include this kind of timing.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Acquisition Toolbox en Centro de ayuda 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