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.
Question
lockecaps
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.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now