TopView alarms are often based conditions relating to the current value of a tag/point. In some cases, more advanced logic is required to define the alarm condition. This may include the comparison of multiple tag values, performing if...then...else logic, and arithmetic.
TopView Logic Functions allow the user to perform logic operations and calculations involving one or more inputs. The inputs to the logic are typically one or more current tag values. The return value from a logic function (the function result) can be monitored just like any other tag in TopView, allowing the user to apply alarm conditions and notification to the function result.
Logic functions are based on the Visual Basic .Net language and the .Net Framework. Users can script logic with decision making statements like if..then.else, they can create and use variables, and perform mathematical operations on the inputs.