Stemlab 125-14, jupyter/python: How to use the external trigger?

Applications, development tools, FPGA, C, WEB
Post Reply
danielwbn
Posts: 2
Joined: Wed Apr 26, 2023 2:47 pm

Stemlab 125-14, jupyter/python: How to use the external trigger?

Post by danielwbn » Wed Apr 26, 2023 3:35 pm

Hi everyone,
I'm using a redpitaya STEMlab 125-14 running Red Pitaya OS 1.04-14. I want to use the external trigger input (Pin 3 on Extension connector E1) to trigger data acquisition with the fast analog inputs.

I know how to do that using SCPI commands ("ACQ:TRIG EXT_NE" in my case), but how can I do the same using python code in a jupyter notebook? The examples all use the dictionary in redpitaya.overlay.mercury.mercury.trig_src == {'gen0': 1, 'gen1': 2, 'la': 32, 'lg': 16, 'osc0': 4, 'osc1': 8} to do something like

Code: Select all

osc0.trig_src = fpga.trig_src["osc0"]
but the dictionary doesn't contain any hints of the external trigger input.

Thanks for your help!
Daniel

User avatar
redpitaya
Site Admin
Posts: 880
Joined: Wed Mar 26, 2014 7:04 pm

Re: Stemlab 125-14, jupyter/python: How to use the external trigger?

Post by redpitaya » Wed May 03, 2023 1:41 pm

Hello Daniel,

We are aware that the Jupyter Notebook documentation is insufficient. This will be addressed with the application OS update (approx. Q3 2023).

For more information, please check out the Jupyter source code:
https://github.com/RedPitaya/jupyter/tr ... pitaya/drv

From a quick scan, there is no external trigger option.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 20 guests