Saving the Control Database using the ICC
- Last UpdatedApr 20, 2020
- 2 minute read
Saving the Controls through the ICC
Before performing a SaveAll, ensure that the CP Database and the Configurator Database are identical. Then, perform the following steps.
-
If a simulation is open and loaded, then put the simulation in FREEZE mode until the completion of the steps below.
-
Invoke the ICC. Click Config in the main menu bar in FoxView. (If needed, change environment in order to access this menu option).
-
From the pulldown menu, select Control_Cfg, and then select CIO_Config.
-
The ICC window displays with the Compound Selection window inside the ICC window. Click the Vol button at the bottom of the Compound Selection window.
-
The Compound Selection window is replaced with the Select Station Type to Edit window. Click Edit Station.
-
The Select Station Type to Edit window is replaced with the Select a Control Processor to Configure window. Select the name (letterbug) of the SCP.
-
Insert a diskette into the WSTA diskette drive.
-
In the ICC window, click MAINT and then select SaveAll w/Fmt from the pulldown menu. This step first performs a format on the diskette and then performs a SaveAll of the current control configuration.
-
Perform the above steps for each SCP that is present in the network.
-
A prompt appears to select the device for the LoadAll procedure. It should automatically select the correct host name and diskette drive. Continue with the load by selecting DONE. Multiple diskettes may be needed.
Saving the Controls with an API Command
Before performing a command line SaveAll, ensure that that the CP Database and the Configurator Database are identical (perform an UPLOAD if needed). Then, perform the following steps.
-
If a simulation is open and loaded, then put the simulation in FREEZE mode until the completion of the steps below.
-
If an ICC is open, click EXIT to close the ICC.
-
Open a command prompt window. To open a command prompt window, navigate to Start > Run, and type cmd in the text field named Open, then click OK.
-
Start a Nutcracker shell session by typing sh at the prompt.
-
Create a directory. mkdir d:/opt/esscor/saveallfile.
-
Move to the directory where the SaveAll command is located. cd d:/opt/fox/ciocfg/api.
-
Save the controls, replacing "ESSSCP" with your CP letterbug name, and the directory shown with the directory containing your controls.
./save_all ESSSCP d:/opt/esscor/saveallfile