malcolm.modules.asyn.parts

class malcolm.modules.asyn.parts.AsynSourcePortPart(name: Anno(name='APartName', typ=<class 'str'>, description='The name of the Part within the Controller'), description: Anno(name='AMetaDescription', typ=<class 'str'>, description='Description of what this element represents'), rbv: Anno(name='ARbv', typ=<class 'str'>, description='Override for rbv'), port_type: Anno(name='APortType', typ=<enum 'Port'>, description='Source Port type'), group: Optional[Anno(name='AGroup', typ=<class 'str'>, description='If given, which GUI group should we attach to')] = None)[source]

Defines a string Attribute representing a asyn port that should be depicted as an Source Port on a Block

Parameters
  • name (str) – The name of the Part within the Controller

  • description (str) – Description of what this element represents

  • rbv (str) – Override for rbv

  • port_type (Port) – Source Port type

  • group (str) – If given, which GUI group should we attach to