iFIX includes two global pages that allow you to store public objects, methods, forms, and variable objects so they can be accessed from anywhere within your system.
The FactoryGlobals page contains the iFIX subroutines and all of their supporting variables, forms, and functions. The FactoryGlobals file is write-protected to maintain the integrity of these scripts. See the Global Subroutines section for more information on the iFIX subroutines that are stored in the FactoryGlobals page.
The User page is the location where you can put your own objects, methods, forms, and variables that you want to use globally.
Since you can access the items that you define as public in the User page from anywhere in the system, make sure that what you enter is really what you want to expose. If you create a global public variable, remember that it can be changed from any script at any time.
This section provides examples of the items that you might want to include in your User page, including:
- Variable objects
- Threshold tables
- Procedures (VBA subroutines and functions)
- Forms