# Unknown Issue With Perspective

**URL:** <https://forum.inductiveautomation.com/t/unknown-issue-with-perspective/82478>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 29, 2023, 2:32pm UTC](https://forum.inductiveautomation.com/t/unknown-issue-with-perspective/82478 "2023-11-29T14:32:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Craig](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@Ryan\_Craig](https://forum.inductiveautomation.com/u/Ryan_Craig)\
**Post date:** [November 29, 2023, 2:32pm UTC](https://forum.inductiveautomation.com/t/unknown-issue-with-perspective/82478/1 "2023-11-29T14:32:03Z")

</div>

I am having an issue occur on one of our prospective projects that I can't seem to trouble shoot. We use a perspective project as an HMI for our machines that controls which recipe the machine is run on, based on the Part Number entered.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/9/39c0d64de7b28ae65c60968961ac5d9a620932ec.png)  
(The errors are there because it needs an IP address from the machine to run properly)

We are having an issue where the machine will randomly change recipes while the machine is running, without any other outside input.

The only thing I could find, is these errors in the logs that happened around when the machines were beginning to run. There were 5 machines that had this problem and 5 of the similar WebSocketChannel errors.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/c/1c5e35624e46e882053114335f55d6f1f7456c7e.png)

Does anyone have an idea of what could cause these errors, and a potential way to fix them?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 29, 2023, 2:36pm UTC](https://forum.inductiveautomation.com/t/unknown-issue-with-perspective/82478/2 "2023-11-29T14:36:44Z")

</div>

If the transfer is to be automatic when the part number changes in the PLC, don't have actions in a user interface do the transfer. Make the transfer in a gateway tag change event script, or transaction group, perhaps. UIs that _ **participate** _ in an automatic control loop are dangerous and problem-prone. Actions in the UI that write to your control system should always depend on a user trigger. (Button action script, ideally.)

---

<div class="post-metadata">

**Author:** ![Ryan\_Craig](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@Ryan\_Craig](https://forum.inductiveautomation.com/u/Ryan_Craig)\
**Post date:** [November 29, 2023, 2:39pm UTC](https://forum.inductiveautomation.com/t/unknown-issue-with-perspective/82478/3 "2023-11-29T14:39:06Z")

</div>

Do you think adding a "Submit" button that would start the changing of recipes, would potentially fix the issue?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 29, 2023, 2:39pm UTC](https://forum.inductiveautomation.com/t/unknown-issue-with-perspective/82478/4 "2023-11-29T14:39:51Z")

</div>

Yes, likely.

---

<div class="post-metadata">

**Author:** ![Ryan\_Craig](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@Ryan\_Craig](https://forum.inductiveautomation.com/u/Ryan_Craig)\
**Post date:** [November 29, 2023, 2:40pm UTC](https://forum.inductiveautomation.com/t/unknown-issue-with-perspective/82478/5 "2023-11-29T14:40:34Z")

</div>

Ill give this a try and report back, if it is a fix or not.

Thanks for the help.
