# Creating a global variable

1. Start editing the real-time application.
2. In the menu bar, click Global variables.

3. You cannot create variables when a filter is active.

4. Click +.

5. Identifiers are case insensitive and must begin with a letter or underscore character. Multiple consecutive underscores or trailing underscores are not allowed.

6. Name the new global variable uniquely.
7. Set the data type.
8. Set the initial value.
9. Set the I/O mapping.

Adding a variable to a program

Data types