Pular para o conteúdo principal

Table in ViewON? Download historical log from ViewON?

Comentários

14 comentários

  • hms_support

    @tomgiorgio

    In viewon, there's a historical trend graph but no historical table readily available.

    You could make a custom HTML page using java script.
    A good guideline to follow would be the "advanced custom html report' topic, located here:

    How to create advanced custom HTML reports The eWON offers a very powerful way to create and send custom reports to users representing their eWON tag data. This flexibility however is not limited to the built-in reports. Users have the ability to create very custom and intricate reports based on their own development. Why would we need to do this? Create highly customized reports Create visually appealing reports to offer as a service Requirements: eWON Flexy or CD series unit eWON Progr:

     

    "

    One way to download the historical log data through viewon is to create a button that goes to a URL configured with an Export Block Descriptor (EBD) for historical log data.

    You can customize your EBD to export historical data for all tags, a particular tag or group of tags. You can also customize the EBD to only pull data from a specific time frame. I use the Export Block Descriptor helper here to create my custom EBDs: https://ewonsupport.biz/ebd/

    In this example, I create a button that downloads all my historical data in a text file by going to the following URL:

    IP/rcgi.bin/ParamForm?AST_Param=$dtIV$ftT (screenshot below)

    or

    ../../rcgi.bin/ParamForm?AST_Param=$dtHT$ftH$st_d1$fnLog (compatible with M2web)

    image

    image
     

    You could create multiples buttons using different EBDs for different time frames or tag groups.

    If you want it to be configurable in the viewon page then you'll need to create a custom HTML page using javascript.

     

     

     

     

    0
  • Tom Giorgio

    How do I clear the historical logs completely?

    0
  • hms_support

    @tomgiorgio

    To clear out your historical logs, navigate to System Setup > Storage > Erase & Format, and then check the box next to "Erase ircall.bin". Enter your password in the "password required" field, click on "Update config", then reboot the Flexy.

    image

     

     

    0
  • Tom Giorgio

    When I download the entire historical log there is no column for the tag name. How do I download a file that will show the historical logging values, including the tag names, that I can open in Excel?

    0
  • hms_support

    @tomgiorgio

    The EBD that includes a historical TABLE will show the tag names while the historical log shows tag "ids" instead.

    You can configure your EBD at the end of the URL above to include a historical table instead. https://ewonsupport.biz/ebd/


    IP/rcgi.bin/ParamForm?AST_Param=$dtHT$ftT$fnLog.csv
    0
  • Tom Giorgio

    When I try to add buttons with links to download I just get a blank page when I go through M2Web.

    Viewon Screenshot:

    Screenshot of what I see after clicking the button:

    Do I need to format the URL differently for it to work in M2Web? I tried doing just the /rcgi part without an IP and I get a similar result.

    0
  • hms_support

    @tomgiorgio

    Try formatting the link like this:

    ../../rcgi.bin/ParamForm?AST_Param=$dtHT$ftH$st_d1$fnLog
    

    This will tell the button to use the directory rather than a static IP address.

    0
  • Jun_Zian_Wong

    Hi,
    Wanted to know, why we need to put "rcgi.bin/ParamForm?AST_Param="? Does it necessary or we can modify it based on our own? How can i modify it?

    Thank you

    0
  • Kyle Reynolds

    Could you please explain your question a little further and give an example? Thanks.

    0
  • Jun_Zian_Wong

    Hi kyle,
    From the example above, when we try to use viewON to load our historical alarm table, we need to use "load action". The URL that we need to key in is "IP/rcgi.bin/ParamForm?AST_Param=$dtAH$ftT$fnLog.csv".

    Is that "/rcgi.bin/ParamForm?AST_Param=" is a must?
    And the file name is "$fnLog.csv", could i randomly put a file name or i need to follow some rules or it had been predetermined?

    Thank you!

    0
  • Mihir

    Hi,

    I have configured following url in my viewon page to download last 30 days alarms.

    :/:/rcgi.bin/ParamForm?AST_Param=$dtAH$ftH$st_d30$fnChillerAlarms.html$et_s1

    I hope, this will help.

    Kind regards

    0
  • Kyle Reynolds

    Yes, you need the "IP/rcgi.bin/ParamForm?AST_Param=" part, but you can make the file name something else.

    0
  • Jun_Zian_Wong

    Hi kyle,
    Thanks a lot.

    0
  • Jun_Zian_Wong

    Hi Mihir,
    Thanks for the reference:blush:

    0

Por favor, entrar para comentar.