Event¶
The Event
element can be used to enable/disable a context massage using the ContextEnabled
attribute.
See also
- Event
Explanation of the general concept of events and their purpose in the motion software.
Example¶
1 2 3 4 5 | <Controller Name="Arcas 5EG-0">
<Event Name="Watchdog" ContextEnabled="True">
<NamedMutation FromDefault="Event" To="Active"/>
</Event>
</Controller>
|
XML schema¶
1 2 3 4 5 6 7 8 9 | <xs:complexType name="EventType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Signal" type="SignalType"/>
<xs:element name="Variant" type="EventVariantType"/>
<xs:element name="NamedMutation" type="NamedMutationType"/>
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="ContextEnabled" type="Boolean" use="optional"/>
</xs:complexType>
|
Note
The ContextEnabled
attribute uses boolean
for type
.
Attribute |
Description |
---|---|
|
Used to specify the event, which is required to be defined or modified. |
|
The |
1 2 3 4 5 6 | <xs:simpleType name="Boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="True"/>
<xs:enumeration value="False"/>
</xs:restriction>
</xs:simpleType>
|
1 2 3 4 5 6 7 8 9 10 11 | <xs:complexType name="EventVariantType">
<xs:complexContent>
<xs:extension base="BaseVariantType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Signal" type="SignalType"/>
<xs:element name="Variant" type="EventVariantType"/>
<xs:element name="NamedMutation" type="NamedMutationType"/>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
|