The Device Manager¶
devicemanager.py
Discovers, connects to instance, and monitors devices
Commands: get status, devices dev_execute pml_execute reset connect disconnect
Sharev Variables publications: <role>_STATUS Version History 12/27/2015 KH Initial framework
-
class
architect.device_manager.
DeviceManager
(device_mode=False, noSVE=None, **extra_args)¶ -
init
()¶ InitializeEcho application. Set up variables, discovery
-
get
(*args, **kwargs)¶ Retrieve parameters dynamically. Options include: state, status, devices, pyro, instance, device(s) (or devices details= all/connected/notconnected/<device>
-
set
(*args, **kwargs)¶ Set parameters. Options include: seek_frequency, reduced_frequency
-
pml_execute
(*args, **kwargs)¶ Execute device command at PML level
-
dev_execute
(*args, **kwargs)¶ Execute device command at Pyro level Need device, cmd and optionally param
-
reset
(*args, **kwargs)¶ Reset device structure (all, per node, per unit)
-
connect
(device=None, force=False, instance_uid=None, instance=None, rewrite=True)¶ Connect device to instance
-
disconnect
(device=None, force=False, instance_uid=None)¶ Disconnect device to instance
-
will_shutdown
()¶ To be overridden by the user so that a shutdown can be handled internally.
-
-
class
architect.device_manager.
DeviceManager
(device_mode=False, noSVE=None, **extra_args) -
init
() InitializeEcho application. Set up variables, discovery
-
get
(*args, **kwargs) Retrieve parameters dynamically. Options include: state, status, devices, pyro, instance, device(s) (or devices details= all/connected/notconnected/<device>
-
set
(*args, **kwargs) Set parameters. Options include: seek_frequency, reduced_frequency
-
pml_execute
(*args, **kwargs) Execute device command at PML level
-
dev_execute
(*args, **kwargs) Execute device command at Pyro level Need device, cmd and optionally param
-
reset
(*args, **kwargs) Reset device structure (all, per node, per unit)
-
connect
(device=None, force=False, instance_uid=None, instance=None, rewrite=True) Connect device to instance
-
disconnect
(device=None, force=False, instance_uid=None) Disconnect device to instance
-
will_shutdown
() To be overridden by the user so that a shutdown can be handled internally.
-