03-10-2015 02:58 PM
My apologies. That did get the graph waveform before being written to daqmx write (see pic pev) to start at the same t0 but you will notice some are inverted others doesnt start at the origin. And when I read it and process it. it looks totally different. see pic puv.png.
03-10-2015 03:05 PM
This is expected behavior from the Basic Function Generator. It will append to the last generated waveform.
What you actually want to do is generate your function outside of the loop instead of regenerating a continuing sine function.
(i.e. have your Sine function generated before going into the loop. Still do the insertion inside of the loop.)
alternatively, you can make sure you generate an integer number of waveforms in your sample so that the origins match up.
03-10-2015 04:18 PM
Thanks taki. that works... kudos for you