Hakon

Newcomers
  • Content Count

    6
  • Joined

  • Last visited

  1. Hi @attila Thanks for your help! The code examples are brilliant, and spot on for my use cases. The jitter is below ~2 ns in the latter example where the DD drives an output IO is within my margin.
  2. Hi @attila The DIO-25 needs to be on for a "long time", meaning idle to high after the pattern in generated. Sequence will be similar to this Set DIO-25 low Reconfigure DD to use pattern Do other stuff Start pattern playback Playback done Idle with DIO-25 high, and DIO-24 low.
  3. Hi @attila I must have been unclear. In this scenario using DIO-25 only as output, and the pattern generator is triggered on the rising edge of DIO-25. I can see two alternatives here, and wonder what you would recommend. Use the pattern generator as in the code snippets already and trigger on the rising edge on DIO-25 (when DIO-25 is a digital output pin). Use both DIO-pins for the pattern output, and create a longer pattern which embeds the wait stage (I guess there is a limit on how long a pattern sequence can be, so not sure this will work). Use case requires around
  4. Hi @attila, After some manual testing I see around 10 ns jitter on my end as well. Around 200 ns delay. Thanks for providing the examples! I really appreciates this! 😀 Another question related to the triggering; Is it possible to use the DIO25 as a digital output instead of input, and the pattern generator is triggered (with wait stage as before) when the digital output is set high?
  5. Hi @attila I'm impressed with how quickly you were able to answer and deliver a working example! :) I need to play back the pattern using 100 MHz frequency. I'm observing jitter when the pattern in played back. I modified the example snippet to use 100 MHz playback, and wait 1 us. In the two screen shots below you can clearly see the difference. 1.2092 us vs 1.0259 us, approx 200 ns difference. Using one DD through Python SDK, and another through waveform 3.17.21 Are there some methods to reduce this jittering?
  6. Hi, I'm using the Waveform SDK with Python and I'm not able to get the DD to start the pattern output with a digital input as trigger. I have tried to look into the different examples in the SDK, but none of them seem to fit this exact use case. Use case: Preparation: Generate a pattern Run time: Get a rising edge on a specified I/O pin (e.g. DIO-25) Wait an amount of time using FDwfDigitalOutWaitSet Play pattern on a specified I/O pin (e.g. DIO-24) Do you have a code snippet which fits this use case? Best, Hakon.