-
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
Add pins rep cap #1122
Add pins rep cap #1122
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1122 +/- ##
=======================================
Coverage 89.99% 89.99%
=======================================
Files 20 20
Lines 3679 3679
=======================================
Hits 3311 3311
Misses 368 368 Continue to review full report at Codecov.
|
Please put some usage examples in the description. The HRAM functionality is site-based so we will need both, maybe. |
Usage (from issue) added. From my understanding pins and sites are two different things so this is needed regardless of what we decide about sites. |
That's correct. We need
instead of
If any operation needs to be done on specific sites, with this change, you can do
This is obviously not good in terms of usability. It's slightly better if users setup pin groups in their pin maps. Then they can do
But this is still not ideal. It would nice to do
We could still need to allow using siteN in
|
This will require more generator work. #1093 is already open for this discussion.
Agreed. Let's have that discussion in #1111 |
|
||
.. code:: python | ||
|
||
session.pins['0-2'].channel_enabled = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a good example. How difficult is it to do something nidigital
specific?
#1125 created
|
||
session.pins['0-2'].channel_enabled = True | ||
|
||
passes a string of :python:`'0, 1, 2'` to the set attribute function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to stop documenting implementation details. The customer doesn't have to know or care how this ends up calling into the C API.
#1126 created
I've added tests applicable for this pull requestWhat does this Pull Request accomplish?
pins
is now a repeated capabilityList issues fixed by this Pull Request below, if any.
What testing has been done?