문제

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%.

enter image description here

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

enter image description here

Following is a wiring diagram I am using:

enter image description here

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top