Hi, I'm trying to acquire data with multiple MCC 172 Hats, using the first one as a "master".
I'm following the example "multi_hat_synchronous_scan.py". The problem is it sets the triggers as:
options = [
OptionFlags.EXTTRIGGER,
OptionFlags.EXTTRIGGER
]
samples_per_channel = 10000
sample_rate = 10240.0 # Samples per second
trigger_mode = TriggerModes.RISING_EDGE
...
for i, hat in enumerate(hats):
chan_mask = chan_list_to_mask(chans[i])
hat.a_in_scan_start(chan_mask, samples_per_channel, options[i])
But I can't figure out how I change it to start recording as soon as I start the script. I tried looking in the documentation, but changing it to "options = OptionFlags.CONTINUOUS" doesn't work, and I'm running out of ideas. The documentation for the MCC is very lacking.