Home : Products : Hach WIMS : Interfaces : Hach WIMS Indirect Server-Side Interface to Wonderware InTouch HMI : Documentation : Topics specific to the operation of this interface : HISTD2HW Not Logging All Tags (in some cases)
Q12340 - KNOWNISSUE: HISTD2HW Not Logging All Tags (in some cases)

If HISTD2HW does not log all your tags, first verify this by Restoring the user display to the utility

 

Then:

  1. Click on Configure DDE Connection
  2. Uncheck the Collect Data for All Trended Tags in Tagname File check box
  3. Click the Configure which Tags to Collect button

 

We see our list of available tags is shorter than we expected:

 

Close all the windows for the HISTD2HW utility. Open the log folder that is located in the same place as the HISTD2HW.EXE:

There should be a file substantially bigger now, and if you sort by Date Modified, it should be at the top of the list:

 

Open this log file up and you will see several lines similar to these:

We can see two lines were SKIPPED and one was ADDED. we can see what the tag names are, and we can see something called Trend Byte: with a number.

In our example, we have verified that p0_cntl_office_motn_act is being trended and should have shown up in our utility, but it didn't. We notice that the Trend Byte is '8', and this is the number we need to add to our configuration file.

OPen the folder where the HISTD2HW.EXE program is located and notice there is a HISTD2HW.INI file:

 

Open this file and look for the line that has VALIDTRENDBYTES= on it (if there isn't one, just add it):

 

We need to add the Trend Byte number from before (8) to this line, so now our file looks like:

(NOTE: a valid Trend Byte number must be between 0 and 255)

 

After going through the Log file above, we also notice that we need to include Trend Byte #4 as well. To do this we need to seperate the 8 from the 4 (these numbers can range between 0 and 255, so 84 is a valid number). To seperate entries we include a colon symbol ":"

Now my file looks like the following:

 

I save and close the HISTD2HW.INI file and rerun the utilty. Bring up the display and click on Configure DDE Connection so I can look at the tags loaded (as we did earlier):

 

Now we can see more tags. Default Valid Trend Byte numbers are: 1, 2, 3, 6, 9, 17, and 25

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 6/26/2009 1:40 PM.
Last Modified on 6/3/2015 4:08 PM.
Last Modified by Scott Dorner.
Article has been viewed 4417 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article