Skip to content

set_sample_group -- return n_configured, make chans argument type int | None where None means "ALL" #181

Description

@cboulay
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions