Tutorial Python Node: Internal States

This is a tutorial node. It makes use of internal state information to continuously increment an output.

Installation

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

Inputs

Name

Type

Descripton

Default

Override (inputs:override)

bool

When true get the output from the overrideValue, otherwise use the internal value

False

Override Value (inputs:overrideValue)

int64

Value to use instead of the monotonically increasing internal one when ‘override’ is true

0

Outputs

Name

Type

Descripton

Default

Monotonic (outputs:monotonic)

int64

Monotonically increasing output, set by internal state information

0

Metadata

Name

Value

Unique ID

omni.graph.tutorials.StatePy

Version

1

Extension

omni.graph.tutorials

Icon

ogn/icons/omni.graph.tutorials.StatePy.svg

Has State?

True

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Tutorial Python Node: Internal States

Categories

tutorials

Generated Class Name

OgnTutorialStatePyDatabase

Python Module

omni.graph.tutorials

See the accompanying tutorial and annotated code at Tutorial 13 - Python State Node