# EASY: Rename Loop Counter in Loop Program Node

**URL:** https://forum.universal-robots.com/t/easy-rename-loop-counter-in-loop-program-node/13846
**Category:** Product Wishlist
**Created:** [April 22, 2021, 9:40am UTC](https://forum.universal-robots.com/t/easy-rename-loop-counter-in-loop-program-node/13846 "2021-04-22T09:40:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![anon14470933](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@anon14470933](https://forum.universal-robots.com/u/anon14470933)
#### Post date: [April 22, 2021, 9:40am UTC](https://forum.universal-robots.com/t/easy-rename-loop-counter-in-loop-program-node/13846/1 "2021-04-22T09:40:50Z")

</div>

# Summary

Add possibility to rename Loop Counter variable in Loop Program Node view

# What is it?

Add possibility to rename Loop Counter variable in Loop Program Node view. This could just be converting the JLabel to a JTextField and binding that to the data model.

# Why is it needed?

Today, you need to do it the hacky way; hence add the “Set Initial Variable Values”, enter that view, rename the variable, go back to Loop view. That’s just silly. And Loop\_1, Loop\_2, etc. is not good names to have in a program if you want it to be readable, so you _need_ to do this hacky step for your customer’s sake.

---

<div class="post-metadata">

### Author: ![fujikit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/fujikit/32/6042_2.png) [@fujikit](https://forum.universal-robots.com/u/fujikit)
#### Post date: [April 23, 2021, 2:07pm UTC](https://forum.universal-robots.com/t/easy-rename-loop-counter-in-loop-program-node/13846/2 "2021-04-23T14:07:19Z")

</div>

I want the feature to change name of count variable of palletizing, too.

---

<div class="post-metadata">

### Author: ![anon1947322](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon1947322](https://forum.universal-robots.com/u/anon1947322)
#### Post date: [April 26, 2021, 8:46am UTC](https://forum.universal-robots.com/t/easy-rename-loop-counter-in-loop-program-node/13846/3 "2021-04-26T08:46:13Z")

</div>

you can change the count variable in palletising, im glad i found a work around for the loop variables, but i agree with nily it there should be a option to rename the loop variable within the loop paramters

---

<div class="post-metadata">

### Author: ![anon80983599](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@anon80983599](https://forum.universal-robots.com/u/anon80983599)
#### Post date: [February 4, 2022, 12:04pm UTC](https://forum.universal-robots.com/t/easy-rename-loop-counter-in-loop-program-node/13846/4 "2022-02-04T12:04:58Z")

</div>

thanks for the awesome information.
