Scripts functions for tags subscription and dataset update
Project example :
See in root directory : TagsSubscriptions_Examples_2017-03-22.zip
Ignition utils modules :
See in root directory : CommunityUtils-signed-1.0.6.modl
More informations : http://smartindustrialcomputing.blogspot.fr/2017/03/ignition-utils-module-clients-scripts.html
This modules enables subscription in 2 way :
- An input list of tag path
- An input dataset with a tag path columns, and other columns for tag's Value, Timestamp, Quality
In return, the module write a client tag (typed dataset) with:
- tags data with Value, Timestamp, Quality updated
- input dataset with Value, Timestamp, Quality updated
As the result, in use case 1, you can quickly create an efficient tag browser based on:
- this utils modules
- a tag browser tree
- a power table (binded to the tag client updated by this module)
Use case 2, an input dataset with columns V, T, Q automatically refreshed when the tags' data change. Button refresh can only be use to force a refresh.
Hope this help you to build more reactive HMI with Ignition an its power table component !
ChangeLog : (Date format : YYYY/MM/DD)
- 1.0.0 : 2017/03/10
- First release
- 1.0.1 : 2017/03/14
- .dataset.subscribeWK for keywords style parameters : index of V,T,Q columns
- .dataset.subscribeWK / .dataset.subscribe : force columns types for V,T,Q if type is incorrect in input dataset
- 1.0.2 : 2017/03/17
- support for tag array and dataset value
- 1.0.3 : 2017/03/20
- Merge function dataset.subscribe and dataset.subscribeWK
- 1.0.4 : 2017/03/21
- Add a comma between rows for dataset String formatting
- Somes Improvments
- Add functions freeze/unfreeze subscription :
- freezeAll
- unfreezeAll
- getSubscribedFullTagPathsList
- getSubscribedTagPathsList
- .dataset.freezeAll
- .dataset.unfreezeAll
- .dataset.getSizeOfSubscribedTagsList
- .dataset.getSubscribedFullTagPathsList
- .dataset.getSubscribedTagPathsList
- 1.0.5 : 2017/03/27
- Some StringBuilder improvments
- 1.0.6 : 2017/06/12
- Add function tagsExists to check if a list of tags exists