• 0

Python SDK - Generate digital trigger after custom data out sequence


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 post
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now