Troubleshoot HistData errors
- Last UpdatedJun 25, 2024
- 2 minute read
You may see errors that can occur when extracting log data with HistData. The following table lists typical HistData problems or error messages in the left column. The right column describes possible causes and solutions to the problem.
|
Error Messages or Condition |
Cause and/or Solution |
|---|---|
|
Error Message: Too much data requested – shorten the duration or reduce the number of tagnames. |
This error occurs when too much data is requested by the SendData item. If the only purpose is to create an output file containing data from the log files, do not use the SendData item. |
|
Error Message: Could not open file C:\FILES1\HISTDATA.CSV |
The folder path does not exist or the spelling of the folder path is incorrect. |
|
Error Message: Could not open file C:\FILES\ |
No output file is defined. |
|
Error Message: DATADIR item invalid |
The destination folder path specified by the DataDir item does not exist. Verify the spelling of the folder path. |
|
Error Message: STARTDATE item invalid |
The StartDate item contains an invalid format for the starting date. From Windows, change the computer’s date format to mm/dd/yy. |
|
Error Message: No log files found |
There are no log files for the requested date in the path specified by the DataDir item. |
|
Error Message: Could not find tagname TAG• in database |
The requested tag does not exist in the application’s Tagname Dictionary. Verify the name of the tag is spelled correctly. |
|
Error Message: Could not find tagname.x in: C:\IT6.0B\HISTEST |
The file tagname.x does not exist or it is corrupted. |
|
No output .csv file is created and no errors appear. |
|
|
The output .csv file contains date and time stamps but does not contain any logged data for the requested tags. |
There are no entries in the Historical log for the tags during the requested time period. Display a historical trend to verify if the log file contains data during the requested period. |
|
The WWLogger contains the following message: Error for DDE HistData|Viewstream1! |
The error message is written to the WWLogger each time the creation of the .csv file fails because of errors assigning values to the HistData items. This error can also occur if you try to set the WriteFile item to 0, or if you try to write to the error item. |
|
The .csv file contains only a single record when there should be many records from the log file. |
The Interval item may be assigned an incorrect value, which creates a very small collection interval. Also, the Duration item may have an invalid format such as HDWDuration=1- (no increment specified). |