RobotStudio event

Loaded program [WebWare SDK]

Is it possible get the currently loaded program name by using the Helper module.

Comments

  • The only time this works is if you have loaded a module using the S4LoadModule method to load a program, otherwise the property does not get set. A workaround is to write the name of the module to a PERS RAPID variable when you access a module (or routine if necessary) and monitor that value. For example,

    PERS string modName;

    PERS string routName;

    modName:="module1";

    routName:="routine1";

    For IRC5, there is much more capability in this area using Robot Application Builder.

    Russell Drown