Stemlab 125-14, jupyter/python: How to use the external trigger?
Posted: 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 but the dictionary doesn't contain any hints of the external trigger input.
Thanks for your help!
Daniel
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"]
Thanks for your help!
Daniel