Jump to content
  • 0

Repeating trigger on digital in?


em0

Question

Hi!

I'm trying to use a Digital Discovery (with the WaveForms SDK) to continuously capture data sent over a high speed bus. The USB connection is not fast enough to continuously sample the bus and send over the data to my PC, so I'm wondering if there's another way to do this. More specifically, is there a way to repeatedly trigger on edges and make only one sample at a time, slowly filling the buffer? From what I have read, the trigger needs to be reset from the PC every time...

Thanks

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Hi @em0

For this purpose you can use the "Sync" acquisition.

# trigger detector mask:          low &     hight & ( rising | falling )
dwf.FDwfDigitalInTriggerSet(hdwf, c_int(0), c_int(0), c_int(1), c_int(0)) # store sample on DIO0 rising edge
# or 
dwf.FDwfDigitalInTriggerSet(hdwf, c_int(0), c_int(0), c_int(1), c_int(1)) # store sample on DIO0 either edge

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...