Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Used to simulate a long/short click within the visualization.

Description

This logic is used to simulate a long/short click by evaluating time how long the input stays at a certain value. The following logic is implemented:

If the input value is "1", then the value specified by parameter "Value_Down" is written to output item "ItemID_Down". If the input value is "2" and the time between "1" and "2" is less than 1 second, the value specified by parameter "Value_UpShort" is written to "ItemID_UpShort". If the time is more than 1 second, then the value specified by parameter "Value_UpLong" is written to "ItemID_UpLong".

Inputs

  • ItemID_Input (ItemID, optional): Input data point that is used to trigger the logic. The input value must be "1" or "2". "1" is used as "pressing the button" and "2" is used as "releasing the button".

Parameters

  • ItemID_Down (ItemID, optional): output data point that is written when the input value is "1".
  • Value_Down (any, optional): value that is written when the input value is "1".
  • ItemID_UpShort (ItemID, optional): output data point that is written when the input value is "2" and the time between "1" and "2" is less than 1 second.
  • Value_UpShort (any, optional): value that is written when the input value is "2" and the time between "1" and "2" is less than 1 second.
  • ItemID_UpLong (ItemID, optional): output data point that is written when the input value is "2" and the time between "1" and "2" is more than 1 second.
  • Value_UpLong (any, optional): value that is written when the input value is "2" and the time between "1" and "2" is less more 1 second.

Possible trigger types

  • Input

  • Value Change

Available since:

NETx BMS Server 2.0

  • No labels