Krithika, all you have to do is wire the Waveform output of the sinewave generator into the Waveform Data input of the Analog Write. Do not put the sine wave generator into a loop. It will generate the number of points you specify in the sampling info cluster. The AO will then output a signal with the same number of points. If you want a longer signal, increase the number of points. If you want a continuous signal, put the entire code into a loop. The number of points should be be such that a whole cycle is produced, or you will see a phase shift every time the loop goes to the next iteration.
Message Edited by tbob on 11-09-2005 10:10 AM