Provisioning Robot Editor

The default and main view of a ProvisioningRobot is the Provisioning Robot Editor (Figure 48), where you edit and compile the Baja program code to be executed by all target stations.

Figure 48. Provisioning Robot Editor is default view for a ProvisioningRobot


Provisioning Robot Editor is default view for a ProvisioningRobot

This view operates like the “Robot Editor” view of a station’s ProgramService. To successfully customize and use ProvisioningRobots, you should already be familiar with the NiagaraAX (Baja) class structures and methods, as well as the Java syntax used by Baja program code.

The Provisioning Robot Editor tool bar has buttons for Compile and Save and Run Now (Compile and Submit). As shown in Figure 49, clicking Run Now produces the “Choose Stations” dialog.

Figure 49. Run Now produces Choose Stations dialog, then switches to Niagara Network Job Builder view


Run Now produces Choose Stations dialog, then switches to Niagara Network Job Builder view

After you select one or more stations, the Niagara Network Job Builder view appears, with the Run Robot step and selected stations entered, ready for you to launch (or if needed, add other steps).

NoteAs a simple test, the ProvisioningRobot “as copied” from the provisioningNiagara palette, if specified in a “Run Robot” step (or commanded to “Run Now”) should execute without errors by any target station with the ProgramService. In addition, the program code in this ProvisioningRobot includes a number of helpful programming tips within the remark lines near the top of the code.