Home : Products : Hach WIMS : Interfaces : WIMS Direct Server-Side Interface to EDS SCADA : Documentation : Topics specific to the operation of this interface : EDS Interface - Program Flow
Q14761 - HOWTO: EDS Interface - Program Flow

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.

 

 

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 12/5/2023 9:42 AM.
Last Modified on 12/5/2023 3:20 PM.
Last Modified by Steve Fifer.
Article has been viewed 501 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article