RingBuffer Op

RingBuffer

Array of fixed size, index is automatically incremented and restarts after reaching the end


Full Name
  • Ops.Array.RingBuffer
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


INPUT PORTS


Value (Number)

<p>The value to add</p>

Write (Trigger)

<p>Writes the value to the array</p>

Length (Number:

<i>integer</i>

)

<p>The length of the array</p>

Reset Index (Trigger)

<p>Resets the index, so the next time <code>Write</code> is triggered it will write to the beginning of the buffer</p>

OUTPUT PORTS


Result (Array)

<p>The output array</p>

Index (Number)

<p>The index of the last element which has been written to the buffer</p>


Patches using RingBuffer

  • Examples
  • Public
  • My Patches