The EDS Interface works a little differently than most of the other Interfaces. It utilizes an EDS Web API to gather data from the EDS SCADA system. The Web API is accessed via a python program that produces a csv file for the Interface to process.
The following is the flow of this Interface:
- Start Import
- Import All - Import all Facilities/Variables that are cross referenced to this Interface
- Import For Vars - Select the Facility/Variables to import
- Select Date Range to import data for
- The Interface will utilize the Python Program defined in Source Configuration WebAPI Tab > Python Programs > Data
- The Interface will first build the tagfile as defined in Source Configuration WebAPI Tab > Tag File > Directory & Filename
- The following information will be provided to the Python program as it is launched
- EDS Credentials
- Path/Filename of the tag file
- Date Range
- Directory for the data file
- The Interface will wait for the data file that will be built by the python program and then process it
- After processing, the data file will be moved to the Archive folder
- Files in the archive folder will be deleted if number of days is set in Source Configuration
Notes
- The Import Folder Location needs to be set up and the directory should be empty. The Import Process will try to process any file in this directory and then move it to the Archive Directory.
- The Archive File Location also needs to exist. This is where all processed files will be moved to.
- If the Python program experiences any errors a log file will be created in a Log directory. This will be the same directory that the interface log files are placed.