Contents:
For conceptual usage, see:
Rogue Widgets
Channel URLs
PyDM label variant with optional engineering-unit display.
parent (QWidget) – Parent Qt widget.
QWidget
init_channel (str | None, default: None) – Initial Rogue channel address.
str
None
show_units (bool, default: True) – If True, display channel units in a dedicated unit label.
bool
True
Update displayed engineering units.
new_unit (str)
Callback invoked when the Channel value is changed. Sets the value of new_value accordingly at the Label.
new_value (str | int | float | bool | ndarray) – The new value from the channel. The type depends on the channel.
int
float
ndarray