Jump to content
  • 0

Python SDK - Generate digital trigger after custom data out sequence


CeeKay

Question

Hi.

I'm developing python software where an AD2 does signal generation and data acquisition. I've come pretty far on both parts, but not really sure what the best approach to the following is:

Two DIO pins on the AD2 generate a "differential sine PWM signal", where the python script generates two arrays and places them in the pins output buffers and repeat them for a few us/ms by using DigitalOutRunSet. This entire sequence with N repeats of the digital out array is a transmission pulse. The arrays which are repeated N times look something like this: [1, 1, 1, 1, 0, 0, 0, 0] and [0, 0, 0, 0, 1, 1 ,1 ,1]. I want to generate a short trigger pulse at the end of each transmission pulse to trigger an external MCU.

What's the best approach for doing this? 

Thanks

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

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

×
×
  • Create New...