Prerequisites: You must have the IndaGate package.
To configure the IndaGate application, open the IndaGateConfig file found in your IndaGate package.
You will see the following configuration file :
The parameters "ActivateRedundancy," "PrimaryIP," "SecondaryIP," "TCPPort," and "RedundancyTimeOutBeforeFallOver" are related to the "Redundancy" mode, which is covered in a dedicated article.
Therefore, we will not detail them here.
Let's focus on the other parameters :
Configuration of the Data Storage Directory
The parameter DataFilesPath allows you to specify the path to the directory where all the data files retrieved from the equipment will be stored.
Configuration of the Application Startup Mode
The parameter StartingMode allows you to determine the startup mode of the IndaGate application:
Normal mode: The PlcReader and CloudUploader services will be launched at startup.
DevicesReader mode: Only the PlcReader service will be launched at startup. Equipment data can be retrieved but will not be sent to the cloud.
IoBaseSender mode: Only the CloudUploader service will be launched at startup. Data can be sent to the cloud but can no longer be retrieved from the equipment.
Note : The available startup modes are indicated in "_Starting Modes Available":
Configuration of Advanced Parameters
MaxDataFilesInFolder : Specifies the maximum number of files in the folder set in DataFilesPath.
DataFolderMaxSize : Specifies the maximum size of the folder set in DataFilesPath.
MaxMetricsPerFrame : Specifies the maximum number of metrics in a data file.
MaxConcurrencyUploadTasks : Specifies the maximum number of file uploads that can be performed in parallel by the process.
Exporting the Configuration
You can export the application configuration from one machine to another.
To do this, simply copy the IndaGateConfig.json configuration file and paste it into the IndaGate package on the machine where you want to copy the configuration.
Copy the configuration file from the machine:
Then paste it into the IndaGate package on the other machine.