I have written several user_devices, but I'm having a hard time implementing timing.
For example, I have a Rigol AWG ('AWG1') and have successfully implemented functions such as AWG1.set_freq(channel, freq)
what I'd really like is to pass the time variable 't' in my experimental script such that when I call AWG1.set_freq(t, channel, freq)
those set of SCPI commands are sent to the device at time t. In this way I could step the frequency every 1s, for example.
For reference, a pulseblaster is my pseudoclock and flag0 is my clockline.
Thank you for any help.
Cheers,
Dave