AutomationDirect Technical Support
AutomationDirect | Direct Sales in US and Canada | 1-800-633-0405

Point of View Software Frequently Asked Questions AutomationDirect Logo


Question

How to convert the history trend to ASCII file?

Answer

    To convert a History trend file to ASCII format:
  • Copy the file "BINHST2TXT.EXE" to the path "HST".
  • Execute the HSTHST2TXT.EXE .HST program to convert the .HST
    history file to ASCII format (for example:
    C:MyAppHSTHST2TXT.EXE 01010425.HST).

    Note: After executing this command, two ASCII files will be generated:
  1. .HDR = List of tags from the History file;
  2. .TXT = Contents of the History file (value of the tags, date, time, etc).


Tips: The WinExec() function can be used to execute the HST2TXT.EXE program from your application [for
example:
WinExec(InfoAppDir()+"HSTHST2TXT.EXE "+TagFileName)].



FAQ Subcategory: None

This item was last updated on 2014-02-07
Document ID: 1476


The information provided in the AutomationDirect knowledge base is provided "as is" without warranty of any kind. AutomationDirect disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall AutomationDirect or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if AutomationDirect or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion of limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.


Copyright © 1999- AutomationDirect.com. ALL RIGHTS RESERVED