06-06-2012 03:53 PM
How can i design square signal which having a positive and negative values equal to each other and separated from each other by controlled time or distance, As it is shown in the figure below. and enter this signal in a daq.
Solved! Go to Solution.
06-07-2012 07:22 AM - edited 06-07-2012 07:25 AM
By the time you spend for the nice diadram you might have done the vi 😉
Your DAQ like to have a waveform (array of values and dt ak 1/samplerate)
If you set the samplerate you know the array length , create a array of zeros, and set the values of both amplitudes ...
Since I don't want to wire others homework 😉 here are some pictures
And there are some drawbacks is room for improvement in my solution, just think of rounding errors ... and what might happen if the arrays get bigger ....
06-07-2012 09:07 AM
Thank you very much Henrik Volkers...I appreciate you help...