Page 1 of 1

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

Posted: Wed Apr 26, 2023 3:35 pm
by danielwbn
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

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

Posted: Wed May 03, 2023 1:41 pm
by redpitaya
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.