Hi everyone,
I aimed to generated sinusoidal waves with NI 9264 and change the place where to give the sinusoidal wave with a case structure. But when I run the VI a got the following error:
Error: “Attempted to write a sample beyond the final sample generated. The generation has stopped, therefore the sample specified by the combination of position and offset will never be available.
Specify a position and offset which selects a sample up to, but not beyond, the final sample generated. The final sample generated can be determined by querying the total samples generated after a generation has stopped.”
I'm trying to take continuos samples and stop taking samples when I click the stop button of the loop. But when the case changes, it gives the error on 'earese the previous task' function. That am I doing wrong? I'm trying to fix it for almost a week.
In addition to that when I check the wave with the oscilloscope, I saw that I couldn't achieve to generate a continuos wave but an interrupted one. I am adding an image of the oscilloscope screen. When I increase the sample rate on NI MAX it gets closer to a sin wave but I want a frequency around 100 Hz not 10k Hz. If someone can also help with this problem, I would be glad.