Hi Johan, looking into this I can see the problem in my instructions. The default item priority button genie unfortunately can't be used as it calls an internal function "_Alarm_GetPriority". This function gets the actual priority number for, in this case, the "4th" ASM priority. Because 2018 doesn't support 4 priorities it has a max set to 3 (see l_nAsmPriorityMax).
I would suggest duplicating the genie and adjusting its expressions to not call _Alarm_GetPriority, and instead pass in the explicit priority value.
Hi Johan, looking into this I can see the problem in my instructions. The default item priority button genie unfortunately can't be used as it calls an internal function "_Alarm_GetPriority". This function gets the actual priority number for, in this case, the "4th" ASM priority. Because 2018 doesn't support 4 priorities it has a max set to 3 (see l_nAsmPriorityMax).
I would suggest duplicating the genie and adjusting its expressions to not call _Alarm_GetPriority, and instead pass in the explicit priority value.