Millisecond accuracy

I need to trigger an external device to deliver a 100Hz pulse for one second. The triggering matlab-based software is provided, and I have rudimentary understanding of Matlab and the programming involved. However, a 100Hz pulse would require a trigger every 10ms, which does not seem possible in Matlab.
Is there anyone with a a solution?

 Respuesta aceptada

Andrew Newell
Andrew Newell el 14 de Abr. de 2011

1 voto

You might be able to do it. There is a lot of discussion on timing in this post, and this one.

Más respuestas (1)

Sean de Wolski
Sean de Wolski el 14 de Abr. de 2011

0 votos

Could you just pass the external device a vector of values to execute over a longer period of time?
I did this with a Nidaq AO board and the DAQ Toolbox trying to hit frequencies much higher than 100Hz, so it's definitely possible; I'm not sure if it's fitting for your application.

Categorías

Productos

Etiquetas

Preguntada:

el 14 de Abr. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by