From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents


Last Modified: September 20, 2019

A constant is a fixed piece of data that exists only on the diagram. Use a constant instead of a control when you know that a certain piece of data should always be the same regardless of other parts of your code.

You can use the following types of constants in graphical programming:

  • Universal constant—Represents commonly used values that are always the same, such as pi (π), the speed of light, or the character that represents pressing the Enter key.
  • User-defined constant—Accepts user input. You define the values as you develop the code.

Recently Viewed Topics