TaurusTrend2DScanItem

Inheritance diagram of TaurusTrend2DScanItem
class TaurusTrend2DScanItem(channelKey, xDataKey, door, param=None, buffersize=512)[source]

Import from taurus.qt.qtgui.extra_guiqwt.image as:

from taurus.qt.qtgui.extra_guiqwt.image import TaurusTrend2DScanItem
clearTrend()[source]
connectWithQDoor(doorname)[source]

connects this TaurusTrend2DScanItem to a QDoor

Parameters:

doorname (str) – the QDoor name

getModel(**kwargs)[source]

Returns the model name for this component.

Parameters:

key (object) – the model key. Defaults to first element of .modelKeys

Returns:

the model name.

Return type:

str

scanDataReceived(packet)[source]

packet is a dict with {type:str, “data”:object} and the accepted types are: data_desc, record_data, record_end and the data objects are: seq<ColumnDesc.Todict()>, record.data dict and dict , respectively

setModel(model, **kwargs)[source]

Sets/unsets the model name for the given key. If key is MLIST, a model is set for each name in the model sequence, new model keys are automatically added to the object’s modelList attribute and the corresponding models are attached using those keys. The new keys are of the form (MLIST, i) where i is the index of the corresponding model name in the model sequence.

Parameters:
  • model (str (or sequence of str if key is MLIST)) – the new model name. If key is MLIST, model is expected to be a sequence of model names.

  • key (object) – the model key. Defaults to first element of .modelKeys