HelpWizard Pages Start ReferenceManual1/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Reference Manual (Normal Pins) == link=HelpWizard Pages Start/en|back Datei:arrowright.png|link=HelpWizard Pages ReferenceManual1…“) |
Cg (Diskussion | Beiträge) (Änderung 22770 von Cg (Diskussion) rückgängig gemacht.) Markierung: Rückgängigmachung |
||
(6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
== Reference Manual (Normal Pins) == |
== Reference Manual (Normal Pins) == |
||
[[Datei:arrowleft.png|link=HelpWizard Pages |
[[Datei:arrowleft.png|link=HelpWizard Pages ReferenceManual/en|back]] |
||
[[Datei:arrowright.png|link=HelpWizard Pages |
[[Datei:arrowright.png|link=HelpWizard Pages ReferenceManual2/en|back]] |
||
<strong>Input</strong> |
|||
The following pages present a short general overview on functions which can be called by bridged actions. More details are found in the online documentation: |
|||
* ''inputPinName''.'''value'''()<br>fetch the value from an input pin; reports an error, if there is no value |
|||
Java/Groovy: [https://doc.expecco.de/wiki2.x/Expecco_API/en#Groovy_Code_API Groovy Code API] |
|||
Python: [https://doc.expecco.de/wiki2.x/Expecco_API/en#Bridged_Python_Code_API] |
|||
* ''inputPinName''.'''valueIfPresent'''()<br>if the input pin has a value, fetch it; otherwise returns nil |
|||
C: [https://doc.expecco.de/wiki2.x/Expecco_API/en#Bridged_C_Code_API C Code API] |
|||
* ''inputPinName''.'''valueIfAbsent'''('''defaultValue''')<br> if the input pin has a value, fetch it; otherwise returns defaultValue |
|||
* ''inputPinName''.'''hasValue'''()<br>true if the input pin has a value; false if not |
|||
<strong>Output</strong> |
|||
* ''outputPinName''.'''value'''(''value'')<br>send a value to the output pin |
Aktuelle Version vom 5. März 2021, 12:07 Uhr
Reference Manual (Normal Pins)[Bearbeiten]
Input
- inputPinName.value()
fetch the value from an input pin; reports an error, if there is no value
- inputPinName.valueIfPresent()
if the input pin has a value, fetch it; otherwise returns nil
- inputPinName.valueIfAbsent(defaultValue)
if the input pin has a value, fetch it; otherwise returns defaultValue
- inputPinName.hasValue()
true if the input pin has a value; false if not
Output
- outputPinName.value(value)
send a value to the output pin