# Bug: Hold value of gp output after setting action

**URL:** <https://forum.universal-robots.com/t/bug-hold-value-of-gp-output-after-setting-action/15709>\
**Category:** Report a Bug\
**Created:** [August 2, 2021, 7:57am UTC](https://forum.universal-robots.com/t/bug-hold-value-of-gp-output-after-setting-action/15709 "2021-08-02T07:57:17Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [August 2, 2021, 7:57am UTC](https://forum.universal-robots.com/t/bug-hold-value-of-gp-output-after-setting-action/15709/1 "2021-08-02T07:57:17Z")

</div>

Hi, development support.

I found the bug on polyscope SW3.15.0

It is that value of gp output cannot be changed after setting action to none manually.

Please check this behaivor.

 ![eip](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/f/f3e8c4c9d901782cbce9589914bc064b0047ef10.jpeg)

---

<div class="post-metadata">

**Author:** ![anon3164729](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@anon3164729](https://forum.universal-robots.com/u/anon3164729)\
**Post date:** [August 2, 2021, 12:09pm UTC](https://forum.universal-robots.com/t/bug-hold-value-of-gp-output-after-setting-action/15709/2 "2021-08-02T12:09:25Z")

</div>

I confirm the behaviour on URSim 5.10 with @fujikit’s sample [Ethernet/IP I/O Monitor URCap](https://forum.universal-robots.com/t/urcap-sample-ethernet-ip-i-o-monitor-urcap-included-the-feature-of-rtde-and-xml-rpc-server-by-java/8724).

However if you write and read the gp output in URScript and save the value in a program variable you can see that they work even after setting “High when not running” and then “None”. Maybe there is a problem in your sample or in RTDE.

---

<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:** [August 2, 2021, 1:07pm UTC](https://forum.universal-robots.com/t/bug-hold-value-of-gp-output-after-setting-action/15709/3 "2021-08-02T13:07:21Z")

</div>

Hi  
I confirmed this problem also without my urcap.  
I sent the script from SocketTest App.

---

<div class="post-metadata">

**Author:** ![Ebbe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ebbe/32/1413_2.png) [@Ebbe](https://forum.universal-robots.com/u/Ebbe)\
**Post date:** [August 4, 2021, 10:54am UTC](https://forum.universal-robots.com/t/bug-hold-value-of-gp-output-after-setting-action/15709/4 "2021-08-04T10:54:52Z")

</div>

Hi @fujikit,

Thank you so much for letting us know! It seems like Polyscope does not send a _set\_runstate\_gp\_boolean\_output\_to\_value(0, 0)_ to the controller in this situation. I will report that internally.

Ebbe
