n_configured = session.set_sample_group(
chans=None, # None = all matching
channel_type=ChannelType.FRONTEND,
rate=SampleRate.SR_2kHz,
disable_others=True,
)
Knowing how many channels were successfully configured simplifies some other operations like channel map auto-filling.
Knowing how many channels were successfully configured simplifies some other operations like channel map auto-filling.