Creating your own script block: 1) Make sure your MPX controller device has a valid instance number (not -1)
This is especially important for offsite engineering and not connected to
live controllers. (Station running, controller created offline)
2) Drag Script Program object from palette into the Config folder of the device
3) If smartxip driver license is valid and activated, the instance number of the script object will change from -1 to the next number in the sequence. A popup in the lower right hand corner will tell you it was successful.
4) Enter the script editor by right clicking on the object, then views, then MPX script editor
5) Write your code
6) Compile code
7) A Compilation document will be created and placed in your MPX_Script\Compiled folder.
A Source document will be created and placed in your MPX_Script\Source folder