To enable DeltaV alarm features, create an alarm in the same module and attach it to the Boolean state parameter that you computed. At the end of each module execution cycle, the alarms for the module are processed to detect any state changes. When the custom state computation results in a value that is non-zero, the alarm is triggered and is either displayed for the operator or logged in the event log.