Why does my waveform not have the right frequency intervals in labview?

。_饼干妹妹 提交于 2019-12-11 17:57:14

问题


In the LabView GUI I set the frequency to 300Hz = 1/300 seconds = 3.333 milliseconds and the pulse width to 2 milliseconds. This computes to a duty cycle of 60%.

Why are intervals between the pulses shown below not equal to 3.333 milliseconds? They look closer to 1 millisecond,which is way off.

Following is a wiring diagram I am using:

Is it possible the problem is my timed loop being set to loop every second? Should I loop faster? What kind of a loop should I be using?


回答1:


You have a pulse rise every 3.333 ms, so that's fine. You don't need a timed loop, the express VI will maintain phase, just make sure it runs more often than the amount of data the express VI produces. A simple wait ms will do.



来源:https://stackoverflow.com/questions/15776538/why-does-my-waveform-not-have-the-right-frequency-intervals-in-labview

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!