# How to use Energy API of RobotStudio SDK?

**URL:** <https://tech-community.robotics.abb.com/t/how-to-use-energy-api-of-robotstudio-sdk/7702>\
**Category:** Developer Tools\
**Created:** [April 27, 2017, 10:26am UTC](https://tech-community.robotics.abb.com/t/how-to-use-energy-api-of-robotstudio-sdk/7702 "2017-04-27T10:26:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![finderzhang](https://avatars.discourse-cdn.com/v4/letter/f/c37758/32.png) [@finderzhang](https://tech-community.robotics.abb.com/u/finderzhang)\
**Post date:** [April 27, 2017, 10:26am UTC](https://tech-community.robotics.abb.com/t/how-to-use-energy-api-of-robotstudio-sdk/7702/1 "2017-04-27T10:26:25Z")

</div>

In my work ,I need to get energy consumption of ABB Robot through C#.The RobotStudio SDK has offered an Energy API ,shown in [http://developercenter.robotstudio.com/blobproxy/devcenter/RobotStudio/html/2cd59b64-d43b-ab13-6979-f0b9084fe2bf.htm#!,but](http://developercenter.robotstudio.com/blobproxy/devcenter/RobotStudio/html/2cd59b64-d43b-ab13-6979-f0b9084fe2bf.htm#!,but) the API Reference is so simple that I don’t know how to use it.And the offered code samples also don’t show how to use it.can anyone tell me how to use the Energy API?
