01-16-2015 01:30 PM
Hi!
I try to program my DAQmx device. I have an array of double (custom waveform), a variable amplitude depending a other operation (feedback), frequency of 50Hz. I want to change the waveform between to cycle with the new amplitude.
I have error like:
Error -200288 occurred at DAQmx Write (Analog 1D DBL 1Chan NSamp).vi:1780001
Possible reason(s):
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.
Attempted to Write Sample: 40
Property: RelativeTo
Corresponding Value: Current Write Position
Property: Offset
Corresponding Value: 0
Task Name: _unnamedTask<28>
How I can do it?
Thank
Solved! Go to Solution.
01-16-2015 02:25 PM
This is working, but take around 6 second before updating
01-19-2015 07:34 AM
and the update need to be at the end of cycle...
01-19-2015 12:27 PM