Jump to content

HeidI

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by HeidI

  1. Hi reddish

    Sorry for the late reply.

    On 11/28/2022 at 6:24 PM, reddish said:

     

    If you use Python, I'd recommend that you take a look at the pydwf package. It will take care of all the ctypes shenanigans for you, checks the results of all API calls and turns them into exceptions if an error occurs; and it also provides documentation and examples that show usage, including triggering configuration. Compared to using the low-level ctypes-based interface that Digilent's examples propose, it should make your life considerably easier.

     

    That was a very helpful tip, thanks a lot! It really simplified the handling of all the necessary functions.

    I was able to get some good results, however, I encountered an interesting phenomena. For my project I used Analog Out (1 channel) as well as Digital In (1 pin), where the signal that comes out of the analog out is basically digital, so I could connect them to each other to test the delay when starting the trigger (this is only for testing, later Analog Out will have a "real" analog output). Now, if I would use the PC trigger or trigger on AnalogOut1 (adapting the corresponding functions; when I checked with an external oscilloscope, the Analog Out always acted as expected, so there must be something going on with Digital In), I would see a kind of random delay of between the start of the recording at Digital and the start of the analog output. However, if I use Digital In as the trigger, I see no delay. What could be the reason for this?

     

×
×
  • Create New...