Thank you for the quick response, The last version of the waveform seems to be gets the job done, I am trying to write a similar program using api, I used this function to enable continuous triggering but it's not working, Could you help me please.
dwf.FDwfAnalogOutRepeatTriggerSet(device_data.handle, channel, ctypes.c_bool(True))