Counter

This node counts the number of times it has been executed since the ‘Reset’ signal was activated.

Installation

To use this node enable omni.graph.action_nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Execute In (inputs:execIn)

execution

Signal to the graph that this node is ready to be executed.

None

Reset (inputs:reset)

execution

Signal to the node to reset its internal counter.

None

Outputs

Name

Type

Descripton

Default

Count (outputs:count)

int

The number of times this node has been executed since being reset.

None

Execute Out (outputs:execOut)

execution

Signal to the graph that execution can continue downstream.

None

State

Name

Type

Descripton

Default

Count (state:count)

int

Internal value storing the execution count in a persistent way.

None

Metadata

Name

Value

Unique ID

omni.graph.action.Counter

Version

2

Extension

omni.graph.action_nodes

Has State?

True

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

tests

uiName

Counter

Categories

graph:action,function

Generated Class Name

OgnCounterDatabase

Python Module

omni.graph.action_nodes