Description

The FirstStatusBooleanToStatusNumeric component displays the number of the first valid entry from a defined number of entries.

 

Implementation

  • Copy / Paste the FirstStatusBooleanToStatusNumeric component into a WireSheet
  • Set the desired number of entries with the "SetlnputCountValue" action
  • Link the Boolean properties to be monitored to the ln_X properties of the component
  • Define whether the value needs to be verified in the ValueChecked slot

 

Properties

  • ValueChecked {True, False}: Chooses the value to be taken into account (true or false)
  • InvalidStatus: Defines invalid statuses. A point with an invalid status will not be taken into account in the calculation.
  • InputCount: The number of entries managed by the component. This is the value specified with the SetlnputCountValue action
  • Out: Indicates the number of the first valid entry that matches the status (true or false) set by ValueChecked. If no entry matches the desired status, the Out slot is set to -1 (status ok)
  • ln_X: StatusBoolean property added dynamically (from the SetlnputCountValue action) and representing an entry taken into account by the component

 

Actions

  • SetlnputCountValue: Sets the number of inputs to be considered by the component. Adds or removes "in_X" StatusBoolean slots.