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?

 채택된 답변

Andrew Newell
Andrew Newell 2011년 4월 14일

1 개 추천

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

추가 답변 (1개)

Sean de Wolski
Sean de Wolski 2011년 4월 14일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

태그

질문:

2011년 4월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by