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?

 Accepted Answer

Andrew Newell
Andrew Newell on 14 Apr 2011

1 vote

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

More Answers (1)

Sean de Wolski
Sean de Wolski on 14 Apr 2011

0 votes

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.

Products

Tags

Community Treasure Hunt

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

Start Hunting!