PyDMDateTimeLabel

class pydm.widgets.datetime.PyDMDateTimeLabel(parent=None, init_channel=None)[source]

Bases: QLabel, PyDMWidget, TimeBase

relative

Whether the value in milliseconds is relative to current date or if it is milliseconds since epoch.

textFormat

The format to use when displaying the date/time values.

timeBase

Whether to use milliseconds or seconds as time base for the widget

value_changed(new_val)[source]

Callback invoked when the Channel value is changed.

Parameters:

new_val (str, int, float, bool or np.ndarray) – The new value from the channel. The type depends on the channel.

Note

See QLabel Documentation for all inherited properties and methods.