Okay, but the Exception 25348 backtrace in the logger points to that code line?
If yes, whatâs about the string? As I remember, in C strings have to be double-quoted â does âMod1Testâ instead of âMod1Testâ work?
Went ahead and tested this on my side, and Alex is right, in which youâre currently using the incorrect string callout.
Incorrect:
MpAlarmXSet(&gAlarmXCore,âMod1Testâ);
Correct:
MpAlarmXSet(&gAlarmXCore,âMod1Testâ);
This should allow you to compile and trigger the alarm.
Also, If you look at the example from the help explorer link you posted, it also shows that you would use â â when using C. using â â would be for when youâre coding in ST.