Anyone ever worked with LabView before? I'm encountering a problem with it, and I'm at a loss on how to approach.
As a proof of concept, I'm using the software to output a sine wave from a waveform generator. I want to only output the sine wave for (in this case) 2 cycles. As you can see in the image of my program, I initialize the generator, configure the waveform, enable the output, wait for the amount of time calculated for 2 cycles, and disable the output.
The problem I'm facing is that it doesn't ideally start at V=0, the start of a cycle. Rather, the time to wait starts a little after the output has been enabled. So, rather than starting at the ideal time, the output sine wave has risen to a higher voltage than V=0 ideally when the waiting begins. Why is this occurring, and what can I do? I feel that it's a software delay of sorts, but I don't know how to make it more accurate.