# Is the local/remote setting information available on the secondary client interface?

**URL:** <https://forum.universal-robots.com/t/is-the-local-remote-setting-information-available-on-the-secondary-client-interface/9898>\
**Category:** Robot Communication\
**Created:** [November 12, 2020, 7:54am UTC](https://forum.universal-robots.com/t/is-the-local-remote-setting-information-available-on-the-secondary-client-interface/9898 "2020-11-12T07:54:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon84675283](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@anon84675283](https://forum.universal-robots.com/u/anon84675283)\
**Post date:** [November 12, 2020, 7:54am UTC](https://forum.universal-robots.com/t/is-the-local-remote-setting-information-available-on-the-secondary-client-interface/9898/1 "2020-11-12T07:54:58Z")

</div>

As the topic says. Is there a way to get to know via the secondary client interface if the robot is in local mode or remote mode? There seems to be no error feedback in read only mode if a script is send to the controller. That would make our software assume that the script was executed successfully.

---

<div class="post-metadata">

**Author:** ![sam.verity-hilton](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sam.verity-hilton/32/6046_2.png) [@sam.verity-hilton](https://forum.universal-robots.com/u/sam.verity-hilton)\
**Post date:** [November 12, 2020, 8:56am UTC](https://forum.universal-robots.com/t/is-the-local-remote-setting-information-available-on-the-secondary-client-interface/9898/2 "2020-11-12T08:56:16Z")

</div>

It doesnt appear to be fetchable from the secondary client interface. Fortunately it is information that you can fetch from the dashboard server, Connecting to the dashboard server is a simple as connecting to the secondary interface, its just on a different port. If your implementation is oart of a URCap, you can find a dashboard implementation in this sample.

> [@URCap Sample: Open Source "SkyNet"](https://forum.universal-robots.com/t/open-source-urcap-skynet/4795):
>
> SkyNet Description of functionality: Set of URCaps, libraries and examples for different purposes. I am at very beginning of development, so for now I have an example of Dashboard server client Hope soon I will have some more good stuff wink What topics are covered: URCap development Requirements: URCaps SDK v. 1.7.0

---

<div class="post-metadata">

**Author:** ![anon84675283](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@anon84675283](https://forum.universal-robots.com/u/anon84675283)\
**Post date:** [November 13, 2020, 9:27am UTC](https://forum.universal-robots.com/t/is-the-local-remote-setting-information-available-on-the-secondary-client-interface/9898/3 "2020-11-13T09:27:53Z")

</div>

Thank you, that works.  
I think that this information should be available on the Primary/Secondary Interface because it has a major impact on the robot behavior.

Has the dashboard server a timeout after that it disconnects if there is no communication?

---

<div class="post-metadata">

**Author:** ![sam.verity-hilton](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sam.verity-hilton/32/6046_2.png) [@sam.verity-hilton](https://forum.universal-robots.com/u/sam.verity-hilton)\
**Post date:** [November 13, 2020, 11:25am UTC](https://forum.universal-robots.com/t/is-the-local-remote-setting-information-available-on-the-secondary-client-interface/9898/4 "2020-11-13T11:25:41Z")

</div>

How the connection times out when initialising the socket in java will depend entirely on your implementation. I don’t beleive the connection times out if there is no communication after a certain amount of time, if there is, you could always jsut reinitialise the connection.
