Configure the Realtime_Nom2XML.json file
- Last UpdatedApr 24, 2025
- 1 minute read
Note: For information on overriding default configuration settings, see Modify configuration settings.
-
If the Realtime_Nom2XML_override.json file exists under %DNADataRoot%\Realtime\config\Settings, open it and proceed to step 3.
Otherwise, proceed to step 2.
-
Copy the %DNAInstallRoot%\Realtime\config\Settings\Realtime_Nom2XML.json file to %DNADataRoot%\Realtime\config\Settings, rename it Realtime_Nom2XML_override.json, and open it.
-
In the file, locate the configuration section for each linked pair of ports that you need to define:
{
"RealTime": {
"Nom2XML": {
"ServerName": "localhost",
"PortNumber": 5000,
"GasContractPrefix": "m",
"FileFormatType": 0,
"DebugLevel": 3
}
}
}
-
Define the following items for the Nom2XML process:
-
ServerName: The hostname or IP Address where the SocketRelayServerService service runs. The default is "localhost".
-
PortNumber: The port number to use. The default is 5000.
-
GasContractPrefix: A prefix added to the point name. The resulting string must match the AVEVA Enterprise SCADA gas contract name. The default prefix is "m".
-
FileFormatType: The file format to use. The default is 0.
0 is STANDARD_FORMAT:
<Point Name>,<Point Code>,<Receipt Or Delivery>,<Scheduled Quantity (V)>,<Scheduled Quantity (E)>,<Cycle>,<Gas Day>
1:
<Point Code>,<Receipt Or Delivery>,<Scheduled Quantity (V)>,<Scheduled Quantity (E)>,<Cycle>,<Gas Day>
-
DebugLevel: Set the debug level to a value ranging from 3 to 6.
Where:
-
3 = DebugLog (default)
-
4 = Warning
-
5 = Info
-
6 = Verbose
-
-