My customer wants to be able to view historical tag info as a table in their ViewON interface. I’m not sure if this is possible. I figure it would be easier to view large amounts of data if they just download the logs as a CSV instead.
Is there a sample ViewON project you can send me that does this? Is there an easy way to let them to filter the download to a particular tag or a few tags? Is there an easy way for them to specify timeframe?
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:
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:
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.
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?