Using Export Block Descriptors with viewON

Export Block Descriptors can be used in viewON projects to provide users with more data about the Ewons they’re connecting to, including historical logs and graphs of tag values. With HTML elements for user input, a viewON page can allow a user to tweak their requests without ever having to write or even look at an EBD string. In this series of posts we’ll go over a few examples for how to integrate EBDs with your viewON projects. You can construct your own pages as you follow along, or you can download the example project here:
EBD Playground.zip (112.0 KB)

Example 1 - Date Selector

image
Use viewON text inputs to specify a date range for downloading a historical log using Export Block Descriptors

Example 2 - Inline Graph

image
Display a graph of a tag’s historical values seamlessly on the viewON page

Example 3 - Historical Log Preview

image
Use a third-party JavaScript library to preview a sample of a historical log before downloading the whole thing

Resources

1 Like