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?

 Akzeptierte Antwort

Andrew Newell
Andrew Newell am 14 Apr. 2011

1 Stimme

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

Weitere Antworten (1)

Sean de Wolski
Sean de Wolski am 14 Apr. 2011

0 Stimmen

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.

Produkte

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by