Nabrio Help
Nabrio Help

Getting Started

Nara Overview

Understanding Nara

Using Nara

Components

Count To..Function Def EndFunction Def StartRun Function ParallelRun Function SeriesIf-ThenFor LoopWhile LoopDelayProcedure OrderStopSwitch Case
Widgets

Miscellaneous

Nomenclature
Troubleshooting
Notice and DisclaimerEULA
NodesOperation

Count To..

Slot Usage: 0

Overview

Count To.. advances an internal counter until a target is reached, then continues on the normal path. While counting, flow routes through the loop Start path.

Use this when you need to wait for elapsed time or for a number of node executions before proceeding.

Input

Count To

integer required

Target value to count to.

Range: 0 to 1000000
Default: 0

Supports dynamic values from references.

Count Mode

string required

How the count advances:

  • TIME — Time: counts elapsed time since the count started
  • RUN — Each Run: increments by one every time this node is called

Default: TIME

Unit time

string

Required when Count Mode is TIME. Duration unit for the count target:

  • MILLISECONDS
  • SECONDS
  • MINUTES

Default: MILLISECONDS

Max Block Time

integer

Used when Count Mode is TIME. When this node is called again and remaining time to the target is less than or equal to this value (milliseconds), the node waits (blocks) for the remaining time instead of returning early.

Range: 0 to 1000
Default: 2
Set to 0 to never block.

Supports dynamic values from references.

Output

Current Count

integer

Current count value: elapsed time in the selected unit for Time mode, or number of runs for Each Run mode.

Is Count Reached

boolean

Whether the count target has been reached.

Loop Flow Behavior

Start path (loopStart)

Used while the count target has not been reached. Connect loop body work here.

Normal output (default handle)

Used when the count target is reached.

End input (loopEnd)

Connect loop body end back to this input to continue counting on the next call.

White Balance

Previous Page

Function Def End

Next Page

On this page

OverviewInputCount ToCount ModeUnit timeMax Block TimeOutputCurrent CountIs Count ReachedLoop Flow BehaviorStart path (loopStart)Normal output (default handle)End input (loopEnd)