numInport
Connection diagram
| numInport |
| xm.setDouble(...) |
|
|
|
out |
| |
|
|
|
invOut |
| |
|
|
|
absOut |
| |
|
|
|
|
Description
Port for a numeric input signal. Output value can be preset with argument value to serve as source for a constant value.
Inports connect the machine to the JavaScript code of your Mozilla application.
Use methods setDouble (partId, value) or setInteger (partId, value) of the Xm component interface to set the value of a numInport.
To keep the machine interface clear, you can only set the values of inports from JavaScript code.
| value | Preset output state |
false | : out preset to false (default) |
| | true | : out preset to true |
Inputs
Component has no inputs.
It is accessed from outside the machine by invoking setDouble (partId, value) or setInteger (partId, value) of the Xm component interface.
Outputs
out
State of the port.
invOut
invOut = out * -1;
absOut
Absolute value of out (always positive).
<< Previous | Top level | Up level | Next >>