...
- General: Contains general configuration, such as import and export locations. Id mapping information for mapping client location/parameter ids to FEWS location/parameter ids.
- TimeSeries: Contains the mapping of client timeseries ids to the FEWS timeseries sets. Also some extra export options.
- ModuleDataSet: Contains the mapping of client moduleDataSet ids to the FEWS moduleInstance descriptor ids.
- ModuleParameterSet: Contains the mapping of client moduleParameterSet ids to the FEWS moduleInstance descriptor ids.
- ModuleState: Contains the mapping of client moduleState ids to the FEWS moduleInstance descriptor ids.
If a client application requires an application specific configuration file then this file must be configured in the directory ' PiClientConfigFiles' of the region configuration. This file is free format (text) and can be obtained from the API by calling \[#getClientConfigFile\]by calling #getClientConfigFile. Wiki Markup
The FEWS system does not automatically start up the PI service listener environment. This needs to be configured in the Explorer configuration file located in the directory 'SystemConfigFiles' of the region configuration. To do this the following line must be entered at the end of Explorer configuration file:
Code Block |
---|
<piServicePortRange start="8100" end="8100"/>
|
Where 'start' and 'end' represent the port number range within which the PI Service must find an available port. To fix the PI Service to a single port enter the same number twice.
Example code
Appendix
FewsPiService API
...