Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top