RobotStudio event

How to read power of joints via PC SDK?

In Robotstudio I can read the power of the robot on the monitor, but how can I collect it via my c# software? Because robotstudio can only export data as xml files, that's not convenient