NumberSequence Op

NumberSequence

Copies the input value to the output ports (value sequence)


<p>This op is very similar to <a href="/op/Ops.Sequence">Ops.Sequence</a> – the ports are set in order (from left to right) once the input value changes. This is helpful sometimes when multiple ops depend on the value of another and the order of op-execution matters.</p>


Full Name
  • Ops.Number.NumberSequence
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


Example Patch NumberSequence Example

The NumberSequence op is useful when you need to define the flow of a value (the order in which ops gets updated about the new value). Think about a Sequence op for values here. First the left value out port is executed (sets the variable "myValue"), then the second one (sets the variable "anotherVariable"), …, at the end the trigger port triggers.

This is a very special op and you will probably need it rarely, only when from one outgoing value multiple should happen in a certain order.

Open In Editor

INPUT PORTS


In Value (Number)

<p>The original value which will be copied to the output ports</p>

OUTPUT PORTS


Value Changed (Trigger)

<p>Triggers when <code>In Value</code> changed, after all out ports have been set</p>

Out Value 0 (Number)

<p>Copy of <code>In Value</code>, port is set first</p>

Out Value 1 (Number)

<p>Copy of <code>In Value</code>, port is set second</p>

Out Value 2 (Number)

<p>Copy of <code>In Value</code>, port is set third</p>

Out Value 3 (Number)

<p>Copy of <code>In Value</code>, port is set fourth</p>


Patches using NumberSequence

  • Examples
  • Public
  • My Patches

Changelog


Ops.Value.ValueHub renamed to Ops.Value.NumberSequenceuser avatarpandur - 2019-11-05 09:17
renameOps.Value.NumberSequence renamed to Ops.Number.NumberSequenceuser avatarpandur - 2023-12-06 09:51