trigger
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
trigger [2020/02/20 09:07] – [Trigger API] oliver | trigger [2021/02/08 09:41] – [Trigger SPI] oliver | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Trigger ====== | ====== Trigger ====== | ||
+ | The original **Trigger-API** functionality is used to create a puls to signal start and/or stop of a measurement/ | ||
+ | |||
+ | Furthermore there are additional methods to control external systems in a more complex process, e.g. waiting that an external system is ready (nextCycle()). | ||
+ | |||
===== Trigger SPI ===== | ===== Trigger SPI ===== | ||
Multiple implementations of the following SPI are possible and can be used to adjust to external systems: | Multiple implementations of the following SPI are possible and can be used to adjust to external systems: | ||
Zeile 71: | Zeile 75: | ||
*/ | */ | ||
public PropertyGroup nextCycle() throws ExecutionException; | public PropertyGroup nextCycle() throws ExecutionException; | ||
+ | | ||
+ | /** | ||
+ | * | ||
+ | * Used to close a robot program before loading a new one. | ||
+ | * | ||
+ | * @return | ||
+ | | ||
+ | */ | ||
+ | | ||
} | } | ||
</ | </ | ||
Zeile 78: | Zeile 91: | ||
===== Configuration of trigger implementations ===== | ===== Configuration of trigger implementations ===== | ||
A trigger implementation is used only, if it is included in a trial type. To do this a property group with the name of the trigger must be included into the trial type configuration. This property group can include implementation specific properties to config the trigger. | A trigger implementation is used only, if it is included in a trial type. To do this a property group with the name of the trigger must be included into the trial type configuration. This property group can include implementation specific properties to config the trigger. | ||
+ | |||
+ | <code xml> | ||
+ | ... | ||
+ | < | ||
+ | labelset=" | ||
+ | < | ||
+ | <!-- ROS trigger specific properties--> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | ... | ||
+ | </ | ||
===== Generic Options of the triggering functionality ===== | ===== Generic Options of the triggering functionality ===== |
trigger.txt · Zuletzt geändert: 2021/02/09 15:23 von oliver