spri Posted February 20, 2018 Share Posted February 20, 2018 On the Discovery2, is it possible to set a different trigger wait-set (Analog/ DigitalOutWaitSet) for each individual channel index, rather than one trigger delay for the whole instrument? Link to comment Share on other sites More sharing options...
attila Posted February 21, 2018 Share Posted February 21, 2018 Hi @spri The digital-out/Patterns controls all the lines a the same time with trigger-wait-run-repeat. You could use the FDwfDigitalOutDividerInitSet and FDwfDigitalOutCounterInitSet to have delay between lines like this: Link to comment Share on other sites More sharing options...
spri Posted February 21, 2018 Author Share Posted February 21, 2018 Thanks, this helps a lot with the pulsed outputs. Is it possible to also do this with the Constant output-type also? For example, in the setup below I want DIO-2 to switch from idle to constant at t=30ms (20ms delay after the 10ms wait-set), but there are obviously not options for the counter-init and divider-init for this output type. I am ultimately interested in doing this within the python sdk, not in waveforms (but waveforms is a good place to start to visualize what I'm doing). In the SDK and dwf.h file it is also not clear how to set the output type to PP+constant or control the FSM/value -- how do I do that? Link to comment Share on other sites More sharing options...
attila Posted February 22, 2018 Share Posted February 22, 2018 Hi @spri The constant is generated specifying zero low/high counts. Setting start with low, low-count zero and high to a non-zero, when running after the divider init expires it will change to and remain at high value. Link to comment Share on other sites More sharing options...
spri Posted February 22, 2018 Author Share Posted February 22, 2018 Thanks, I got it working! Link to comment Share on other sites More sharing options...
Question
spri
On the Discovery2, is it possible to set a different trigger wait-set (Analog/ DigitalOutWaitSet) for each individual channel index, rather than one trigger delay for the whole instrument?
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.