# Display variable name on the teach pendant

**URL:** <https://tech-community.robotics.abb.com/t/display-variable-name-on-the-teach-pendant/5926>\
**Category:** Robot Controller\
**Created:** [January 24, 2014, 9:44pm UTC](https://tech-community.robotics.abb.com/t/display-variable-name-on-the-teach-pendant/5926 "2014-01-24T21:44:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![blueberry](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@blueberry](https://tech-community.robotics.abb.com/u/blueberry)\
**Post date:** [January 24, 2014, 9:44pm UTC](https://tech-community.robotics.abb.com/t/display-variable-name-on-the-teach-pendant/5926/1 "2014-01-24T21:44:19Z")

</div>

Is there a way to display a variable name (not its value) on the teach pendant?

I have a variable that will be passed into a function to check its value, then I want to display the original variable name on the teach pendant. The display codes will be run inside the function.

Any help will be appreciated !

---

<div class="post-metadata">

**Author:** ![Micky](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Micky](https://tech-community.robotics.abb.com/u/Micky)\
**Post date:** [January 27, 2014, 3:55pm UTC](https://tech-community.robotics.abb.com/t/display-variable-name-on-the-teach-pendant/5926/2 "2014-01-27T15:55:24Z")

</div>

Hi,

you can use the function **ArgName** to get the Name of the variable.

Pleser refer the reference Manual for further Information.

BR

Micky
