I am trying to write a custom application using the SDK in python that will synchronize a number of pulses (with a variety of frequencies and pulse widths) on both the analog and digital pins, to synchronize several pieces of equipment in my lab.
I would like to start a pulse on DIO-0 and let it run for several minutes, and then click a button which starts pulses on the two AWGs which are synchronized with the ongoing digital pulse. I think the best (or most straightforward?) way to do this is to enable or configure the analog pins on the button click, and then trigger the AnalogOut AWGs on the rising edge of the next digital pulse. The AnalogOut should pulse for a specified length of time (1-5seconds), then turn off while the digital pin keeps pulsing. The TriggerHoldOff command would be great so I can trigger the AWG on the next DIO pulse (but not all subsequent pulses), but it looks like it only exists for AnalogIn -- any other ideas on how do this? Also, is there a way to count the number of digital pulses which were sent before the AnalogOut was triggered?
Question
spri
I am trying to write a custom application using the SDK in python that will synchronize a number of pulses (with a variety of frequencies and pulse widths) on both the analog and digital pins, to synchronize several pieces of equipment in my lab.
I would like to start a pulse on DIO-0 and let it run for several minutes, and then click a button which starts pulses on the two AWGs which are synchronized with the ongoing digital pulse. I think the best (or most straightforward?) way to do this is to enable or configure the analog pins on the button click, and then trigger the AnalogOut AWGs on the rising edge of the next digital pulse. The AnalogOut should pulse for a specified length of time (1-5seconds), then turn off while the digital pin keeps pulsing. The TriggerHoldOff command would be great so I can trigger the AWG on the next DIO pulse (but not all subsequent pulses), but it looks like it only exists for AnalogIn -- any other ideas on how do this? Also, is there a way to count the number of digital pulses which were sent before the AnalogOut was triggered?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.