Jump to content

Josh Woods

Members
  • Posts

    3
  • Joined

  • Last visited

Josh Woods's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Thanks for the response. What I would like to do is start the Pattern after 500 Wavegen run cycles. I guess this might be accomplished best using a delay on the pattern? Or is it possible to do something like this in the SDK? Thanks!
  2. Is it possible to set an instrument to be triggered after another instrument, but only after the first instrument is done repeating (preferably within a waveforms script)? E.g. right now I run the wavegen 5 times and want to trigger the patterns tool after the fifth time is done not after each repetition. Thanks!
  3. I am using the Analog Discovery 2 and Analog Discovery Pro. I have a very long sequence of a square wave pulses at a constant frequency with notches. The current method I use to generate these square wave sequences is with a script that creates a sequence of 1s and 0s. A small sample of my output array would be something like this: [0,0,0,0,0,0,1,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0] (notch 3 cycles, square 3 cycles, notch 2 cycles, square 3 cycles). I currently sample at 660kHz to get a cycle frequency of 330kHz. This works as expected with the pattern generator, but I need a larger output buffer (32kS) so I am attempting to use the wavegen output on the ADP. Unfortunately, even with a smaller test sequence (first and second img below) the output as measured by the oscilloscope is inconsistent (last img below). Is there a difference in the way these signals are generated that can explain the difference in results? Is it possible to get the behavior I want with this sequence on the ADP wavegen? I am open to different ways of creating this sequence, but wanted to keep my first post broad instead of diving into my strange requirements. Thanks in advance for any help!
×
×
  • Create New...