Thank you for your response @attila
this is very helpful, i have two issues i cannot seem to figure out. first is by connecting a trigger to a clock signal running at 1hz. i want to turn on wavegen when i reach the falling edge of of the clock signal, but when i give the wavegen these parameters (trigger: patterns , falling edge) it stays in the armed position.
my second issue is that once triggered, the sin wave needs to start with a specific phase for example 60*, but the sin wave amplitude needs to start at 0v. my idea is that once the wavegen window starts running it would just wait until the sin wave reaches 0v and then it will start producing the signal for it. that way the sin wave would have a phase of 60* relative to the clock signal. however i am not sure how to do this via code.
thank you for your help.