core.commands:Set
Class representing a Setter-command of a ControlGUI.
Usage
core.commands:Set(
dtype,
setfunc,
setargs=None,
polling_cmd=None,
)Methods
| Name | Description |
|---|---|
| __init__() | Initialize the Set command. |
__init__()
Initialize the Set command.
Usage
__init__(
dtype,
setfunc,
setargs=None,
polling_cmd=None,
)Parameters
dtype: type-
Data type of the connected variable.
setfunc: callable-
Setter function to change the connected variable.
setargs: tuple or None = None-
Optional additional arguments for the setter function.
polling_cmd: str or None = None- Optional command to poll to check if the setpoint was reached.