08-13-2024 05:55 AM
Hello,
I am currently working on generating a sinusoidal waveform, and I'm encountering a couple of issues:
Waveform Output: Although the waveform graph displays the correct waveform, the actual output from the DAQ is producing distorted or incomplete waveforms. This is not aligning with what is shown in the graph.
Real-Time Amplitude Control: I am unable to adjust the amplitude in real time as intended. The changes I make to the amplitude control do not reflect in the DAQ output as expected.
Could you please assist me in resolving these issues?
Thank you!
Solved! Go to Solution.
08-13-2024 06:51 AM - edited 08-13-2024 06:52 AM
Hi Danny,
@Danny0806 wrote:
I am currently working on generating a sinusoidal waveform, and I'm encountering a couple of issues:
Waveform Output: Although the waveform graph displays the correct waveform, the actual output from the DAQ is producing distorted or incomplete waveforms. This is not aligning with what is shown in the graph.
Real-Time Amplitude Control: I am unable to adjust the amplitude in real time as intended. The changes I make to the amplitude control do not reflect in the DAQ output as expected.
This is your VI after some cleanup:
Your VI is missing ALL error handling.
I recommend to have a look at the DAQmxIsTaskDone function when you use the "Finite samples" mode.
08-16-2024 09:07 AM
Thanks a lot for the suggestion. It works now!