#Alert
def alerttrigger1 = volume crosses above numDev;
input alerttext = "!!!!! Volume crosses Number Deviation !!!!!";
input UseAlerts = {false, default true};
input AlertType = {default "BAR", "ONCE", "TICK"};
def at = AlertType;
input AlertSound = {"Chimes", "Ring", default "Bell", "NoSound", "Ding"};
Alert (alerttrigger1 and UseAlerts, alerttext, if at == 1 then Alert.ONCE else if at == 2 then Alert.TICK else Alert.BAR, AlertSound);
#Label
input label = yes;
def nDev = alerttrigger1;
AddLabel(label and nDev, " Deviation > Input ", color.PLUM);