Modeling Guide

Constant Generator

The Constant Generator operator represents a constant string that may be emitted into the graph. It can do so on a regular basis ('pulse' mode) or only once ('once' mode). The 'in' port can only be used to start the string constant operator when an incoming signal is received.

Configuration Parameters

Parameter

Type

Description

content string The content the string constant shall emit.
mode string There are three modes: once, pulse and trigger:
  • once: In this mode, the content is only emitted once.

  • pulse: In this mode, the content is emitted repeatedly by the specified duration.

  • trigger: In this mode, the content is emitted every time a signal is received by the in-port.

duration

string

If in pulse mode, the duration between ticks where the content is emitted.

counter

int The number of times this component has to receive any incoming signal to start running.

Input

Input

Type

Description

in

any

Incoming signals that reduce the 'counter' and trigger output in 'trigger' mode.

Output

Output

Type

Description

out

string The content.