Skip to content

Some methods in nidigital could (should?) use sites rep cap #1337

@marcoskirsch

Description

@marcoskirsch

As of #1290 we have a sites repeated capabilities object in nidigital. Two methods were not made to take advantage:

  1. fetch_history_ram_cycle_information
  2. get_history_ram_sample_count

I suspect this is because they only allow one site at a time. I don't think that's a good reason as we have functions in other APIs that only allow one channel. We let the driver runtime error if the user passes more than one.

hram_info = my_session.pins["VCC"].fetch_history_ram_cycle_information(3)

should become

hram_info = my_session.sites[3].pins["VCC"].fetch_history_ram_cycle_information()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions