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: Anno(name='AGroup', typ=<class 'str'>, description='If given, which GUI group should we attach to') = None)[source]¶ Defines a string
Attributerepresenting a asyn port that should be depicted as an Source Port on a BlockParameters: -
setup(registrar: malcolm.core.part.PartRegistrar) → None[source]¶ Use the given
PartRegistrarto populate the hooks and fields. This function is called for all parts in a block when the block’sControlleris added to aProcess
-