-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
415: ResourceManager.list_opened_resources r=MatthieuDartiailh a=MatthieuDartiailh Based on @ruggiamp suggestion in #414, add a `list_opened_resources` method to the resource manager returning a snapshot of the opened resources. The documentation has been updated to add an example of its usage. Also in the Resource class we use consistently the resource name stored in the private attribute (`_resource_name`) to avoid relying on the VisaLibrary object to get it. This should fix issues such as pyvisa/pyvisa-py#151. @ruggiamp please test if you can (I already tested locally). @hgrecco @tivek please review if you can. Co-authored-by: MatthieuDartiailh <marul@laposte.net> Co-authored-by: Matthieu Dartiailh <marul@laposte.net>
- Loading branch information
Showing
4 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters