Urp program not running when we call the urp file in default program (Run Program)

Hello,
We have created an URCAP which can acquire (X,Y,Z,rx,ry,rz) from installation node and transfer those points to a program node. once we play the program node the script in a background of URCAP will start running. In this process the urp/script file will run without any problem. When we are calling the urp file to default program, where the user can directly access the program from run program tab, the program is not running.

Steps involved in process:

  1. We teach (X,Y,Z,rx,ry,rz) from installation node using pick reference button

  2. After saving the installation node we will transfer the points to program node and activate the program. The script will run in background.

  3. Then the saved urp file will be called in default program, where the user can directly access the program from run program tab, After robot powercycle process the save urp will not run directly through the run program tab.

note - For security reasons I have not mentioned the program name.

Can anyone please look into this architecture and suggest on what I should look into to solve this problem.
Thanks

Hi Rohan,

so the problem is as I understand it, that if you start the Robot program from the Program tab (where the program tree can be seen) everything works as expected. Only when you use the Run Screen to load the program, the program cannot be started.

Do you get any error messages?
Are there any things loaded/prepared through the openView-Method, which does not get called inside the Run screen?

Dear Mr Stefen,
Apologies for the delayed reply.
Yes you have understood it in a correct manner.

Error message after restarting the robot -

Did I missed some function ?
Can you please help me out with this problem.
Thanks