|
Wasatch.PY
Python application driver for Wasatch Photonics spectrometers
|
Public Member Functions | |
| __init__ (self, use_sim=False, monitor_dir=None) | |
| dump (self) | |
| is_empty (self) | |
| update (self, poll=False) | |
Public Attributes | |
| list | device_ids = [] |
| tcp_bus = TCPBus() | |
| usb_bus = USBBus() | |
The different Bus classes don't use inheritance and don't follow a common ABC or interface, but each should have an update() method, and each should have a 'device_ids' array. @param use_sim not used, left to avoid breaking old code @param monitor_dir not used, left to avoid breaking old code
| wasatch.WasatchBus.WasatchBus.__init__ | ( | self, | |
| use_sim = False, | |||
| monitor_dir = None ) |
| wasatch.WasatchBus.WasatchBus.dump | ( | self | ) |
called by Controller.update_connections
| wasatch.WasatchBus.WasatchBus.is_empty | ( | self | ) |
| wasatch.WasatchBus.WasatchBus.update | ( | self, | |
| poll = False ) |
CONNECT-3: called by enlighten.Controller.tick_bus_listener()
| list wasatch.WasatchBus.WasatchBus.device_ids = [] |
| wasatch.WasatchBus.WasatchBus.tcp_bus = TCPBus() |
| wasatch.WasatchBus.WasatchBus.usb_bus = USBBus() |