IFGlobalVariables.resetFromVISUTHEN
  GlobalVariables.power_led :=FALSE;
  _(pszComand:='sudo reboot' , pResult:=ADR(Result));END_IFIFGlobalVariables.poweroffFromVISUTHEN
  GlobalVariables.power_led :=FALSE;
  _(pszComand:='sudo poweroff' , pResult:=ADR(Result));END_IF
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
How can I implement a button to restart and shutdown raspberry pi on the web visu ?
Thаnks