02-16-2023 03:44 AM
I am trying to trigger the MSO channels using the FGEN. Using the Virtualbox software, that can be done by choosing FGEN start under miscellaneous channels.
But how can I do this programmatically using python?
I am using https://github.com/armstrap/armstrap-pyvirtualbench
So far I have just been using auto_setup() ( https://github.com/armstrap/armstrap-pyvirtualbench/blob/master/pyvirtualbench/pyvirtualbench.py around line 961), which sets the trigger to auto.
I think using configure_analog_edge_trigger() (line 1029) should work, setting the correct trigger_source.value. But which one is that?
02-16-2023 08:21 AM
With the caveat that I have not personally used the python API, based on my knowledge of this instrument, I would expect `configure_digital_edge_trigger` to be the function you'll want to use, with the `FGEN_START` source.
02-20-2023 05:08 AM
This throws an error of the form
Invalid channel name
requested value fgen_start
allowed values mso/d0:31, mso/clk0, mso/clk1
in the virtualbox interface, the fgen_start trigger appears under the "misc" category (neither "oscilloscope" nor "digital I/O"...)
It seems to belong to neither category?