Global

Overview

Sequencer Global is a variable that is located in the RMP shared memory. So, it is globally accessible by RapidCode API. It supports primitive types such as bool, char, int16, uint16, int32, uint32, int64, uint64, and double.

Declaration

global int32 i = 0;
  • global keyword is to declare a variable as a sequencer global.

  • It can only be declared at the global scope (outside of the function).

  • Once a global variable has been declared and compiled with a type, its type cannot be changed until the RMP is restarted.

Demo

SequencerGlobals window

  • compile will populate the SequencerGlobals list.

Running

Features

  • PIN: pins sequencer globals

  • Search: searches sequencer globals by name

  • Show Pinned Tags: filters pinned sequencer globals

  • Refresh: updates sequener globals value from memory

  • Poll Globals: polling sequencer globals value from memory

Last updated