Home : Products : Hach WIMS : Interfaces : Hach WIMS Direct Server-Side Interface to Custom Q12849 SCADA : Documentation : Topics specific to the operation of this interface : Source Data Example and Description
Q12856 - INFO: Source Data Example and Description

This is example and description of the CSV files created for this interface.

The file names must be the date of it was created in the format MMDDYYYY.csv: where MM is the numerical value month, DD is the day, and YYYY is the year. So for January 21, 2010 the file name is 01212010. Data can span over multiple files, so it is possible that 01202010 would have data in it for the 21st. Here is an example:

Notice if today is January 28, 2010 and I do have a file for today because my script creates these files at 6 AM - then this interface will import this mornings data, up to 6 AM.

The CSV files will look similar to the following:

 

The $DATE and $TIME must appear as shown - in two separate columns with a leading dollar sign and all capital letters. This must be the very first line in the file.

The third column and continuing to the right will have the tag names.

Starting with the second row is the date, time, and data points for each tag, this must start at the second line. There can be no blank lines within the data. Values can be numeric or text, but the Hach WIMS client variable description must match the data type. Only certain statistics will work with text parameters. These are: First, Last, Mintime, Maxtime, and Count.

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 1/28/2010 1:30 PM.
Last Modified on 1/28/2010 1:31 PM.
Last Modified by No Author Name Available!.
Article has been viewed 2729 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article