Viz Plug-ins User Guide

Version 5.2 | Published March 20, 2024 ©

DataCounter

images/download/attachments/95402002/plugins_datacounter-icon.png
The DataCounter plug-in increases/decreases its value every time the DataField changes (if set to begin counting at 1 with an incremental value of 1, the plug-in counts the number of times that the DataField changed). The plug-in starts counting at the From parameter value, adding the Step parameter value to counter every time the DataField defined in Field Name changes, until the value To is reached. When the To value is reached, the counter starts over again from the beginning.

Note: This plug-in is located in: Plugins -> Container plug-ins -> Data

Information: DataPool plug-ins only work properly on a single channel on the same machine.

DataCounter Properties

  • From: Defines the initial value of the counter.

  • To: Defines the ending value of the counter.

  • Step: Defines the value to increment.

  • Output Field: Defines a DataPool variable that the counter value is assigned to.

  • Output Scope: Defines whether the DataPool variable defined in the output field is a global variable or a local variable.