Variable to read which program is loaded in the robot controller

  • Hello all,


    I would like to know if there is any variable that allow me to read the curernt loaded program in the KRC.


    I'm working from VC++ and I need to reach variables inside sub-programs, this means that I can make two things:


    A) make all of them as globals (this changes the scope, but I cannot get two variables with the same name even if they are in different files).


    B) make them local (as by default) and then accessing them using the filename as path for that variable.


    I must use the B method, as the A is not valid for me, but I need to know how to automate the path to the variable, and in order to do that I need to be able to read the name of the program that is selected at the moment.


    As always, thank you in advance.

  • Schritt für Schritt zum Roboterprofi!

Erstelle ein Benutzerkonto oder melde dich an um zu kommentieren

Du musst ein Benutzerkonto haben um einen Kommentar hinterlassen zu können

Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen. Geht einfach!
Neues Benutzerkonto erstellen
Anmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden