AWG python example

Post general discussions on using our drivers to write your own software here
Post Reply
DCEL
Newbie
Posts: 0
Joined: Fri Sep 10, 2021 6:43 pm

AWG python example

Post by DCEL »

Hello, I am seeking example Python code for the AWG. I am not finding any examples in this forum, or on the web.
The example should make 4 stair steps, for example, 0.00v, 0.25v, 0.50v, 0.75v and back to zero.
The steps in the example should be 1mS in duration, and it should repeat until turned off.

Thank you for your help.

bennog
Advanced User
Advanced User
Posts: 206
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Re: AWG python example

Post by bennog »

Have you looked over here ?

https://github.com/picotech/picosdk-python-wrappers

What scope are you using

DCEL
Newbie
Posts: 0
Joined: Fri Sep 10, 2021 6:43 pm

Re: AWG python example

Post by DCEL »

Yes, but i don't see an AWG example. The signal gen examples work, but these are the built-in waveforms. For the AWG, an example would be very useful to me, and possibly others.

Thanks again!

DCEL
Newbie
Posts: 0
Joined: Fri Sep 10, 2021 6:43 pm

Re: AWG python example

Post by DCEL »

We have a 5242D and 5244D

DCEL
Newbie
Posts: 0
Joined: Fri Sep 10, 2021 6:43 pm

Re: AWG python example

Post by DCEL »

bump
Does anyone have sample python code for the AWG that steps through a list/array/values?

Post Reply