Simulator Static Variables

Most simulator points are read-only. To create a writable point (also referred to as a "holding register"), use the signal name of static.

The point syntax is:

svrsim:static [<datatype>] <name>

The table below explains what the various parts mean. When an optional part is omitted, the default value is used.

Part name

Description

Optional

Default Value

datatype

The data type of the variable. For possible values, see: Simulator Data Types

Yes

Double

name

A unique name to identify this point.

No

 

Notes:

  • Static variables and their values are stored persistently in the Simulator, including through a restart of the service.
  • Static variables can be browsed under Platform Services > Server Internal SimulatorStatic.
  • The term reg can be used in place of static.