-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nidigital
should expose sites as repeated capabilities
#1111
Comments
Depending on whether we make siteList in C API is a const string. Its contents are Site numbers listed as a comma-delimited list of strings of form siteN, where N is the site number. Currently, type of sites in When working on this issue, we should ensure the type is kept consistent at the Python API layer. |
If sites is not made a repeated capability, we should make |
There are a bunch of methods that accept a site list as "site0,site1,site2". These could easily be made more usable by making sites a rep-cap (with "site" as prefix). Users would be able to write code like:
Then there are methods that accept a single site as "site0". Should we update these methods to treat site as a rep-cap? ..so users can write something like:
and let the driver return an error if they specify more than one site? Then there are methods that expect a
We need to figure out the usability and implementation feasibility of something like above. |
This is up for discussion.
I believe sites in
nidigital
should be repeated capabilities similar to how we do channels.my_session.sites[[3,4]]. fetch_capture_waveform("my_waveform", 1024)
The text was updated successfully, but these errors were encountered: