Universal Robots Forum

Install node data in program view

Is there a way to access data (specifically a variable) from the installation node contribution in the program node view? I know the getInstallation() function is used in the program node contribution but that doesn’t seem to work for the program node view.


Did you check out the VariableModel that you can get from the ApplicationAPI (accessible from Program and Installation API).
This allows you to read all variables in the program:

Collection<Variable> allVariables = apiProvider.getProgramAPI().getVariableModel().getAll();