Skip to content

IgnitionModuleDevelopmentCommunity/tagSubscriptionUtils

Repository files navigation

tagSubscriptionUtils

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 :

  1. An input list of tag path
  2. 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:

  1. tags data with Value, Timestamp, Quality updated
  2. 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)

tagbrowser

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.

tagbrowser

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

About

Scripts functions for tags subscription and dataset update

Resources

Stars

Watchers

Forks

Packages

No packages published