RobotStudio event

Err message: no client for UIMsgBox

Hi Everyone,

Right now I am setting up a background task for our robot. First I configured the background task to be normal. Then I program it and code functions like UIMsgBox. I test it ok. But when I configure background task to be semistatic, I have an err message:
There is no client e.g FlexPendant taking care of instruction, UIMsgbox.
What is this meaning. Can somebody please tell me how to fix it.

Many thanks,

Randy

Comments

  • Hi Rendy,
     I tried to do the samething you did with the same result. I'm interested in a solution as well.

     

    Bye

     Fabio
    Fabio
    C.I.A. Automation and Robotics
    www.ciaautomazione.it
  • Hi Randy, if you switch back to normal again, is the task running again?
  • The reason that you get this error is that the semistatic task starts running before the Flexpendant has finished booting.

    If you add the following in the start of your semistatic task then the code will wait for the flexpendant to boot before continuing:

    WaitUntil UIClientExist()=TRUE;