Skip to content

reset_device is functional in niswitch 1.4.9 despite docstring statement #2162

@l-johnston

Description

@l-johnston

Description of issue

The docstring for niswitch.Session() says that reset_device is not currently supported. I find that at least for the PXI-2503, reset_device=True is functional opening any relays previously closed.

Help on class Session in module niswitch.session:

class Session(_SessionBase)
| Session(resource_name, topology='Configured Topology', simulate=False, reset_device=False, *, grpc_options=None)
| | reset_device (bool): Specifies whether to reset the switch module during the initialization
| process. Valid Values: True - Reset Device (Default Value) False
| - Currently unsupported. The device will not reset.
|

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions