parlay¶
-
class
parlay.
WidgetsImpl
[source]¶ Bases:
object
Stub that will warn users that accidentally import or try to use widgets that it can only be used in the UI
-
parlay.
open_protocol
(protocol_name, **kwargs)[source]¶ Sets up a protocol to be opened after the Broker initializes.
This function has the same effect as opening a new protocol from the browser-based user interface.
Parameters: - protocol_name (str) – name of protocol class to call the open method
- kwargs – keyword arguments to pass to the protocol’s _open_ method
Returns: none
Example Usage:
from parlay import open_protocol, start open_protocol("ASCIILineProtocol", port="/dev/ttyUSB0", baudrate=57600) start()