Asked
Resolved Resolved by Athena AI!

Issues With ARC Disconnect And Script

I'm experiencing a couple of issues with the latest version of ARC.

  1. When I press the button in ARC to disconnect the controller, it doesn't disconnect immediately. It seems there's a delay or it doesn't respond as expected.

  2. I noticed a question mark appearing in one of my scripts under the Cheat Sheet tab. I've attached a picture for reference. This seems to prevent the script from functioning properly.

Can anyone provide assistance or guidance on resolving these issues?

Here's the image showing the script issue:

User-inserted image


Related Hardware EZ-B IoTiny

ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

PRO
Canada
#9  

Hi Nomad_6R,

Let's dig a bit deeper into the issue with the refresh page and missing scripts.

Clarifying the Issue

When you mention, "it doesn listed in the refresh page. there are no scripts there," are you referring to the Cheat Sheet tab that normally displays the available script commands for the current control? Or is it another page (like a merge page) that should list scripts?

Troubleshooting Steps

  1. Verify the Current View:

    • If this is the Cheat Sheet within a specific control’s scripting area, confirm you’ve selected a control with script references (for example, a control that supports ControlCommand() for other skills).
    • Sometimes if the control hasn’t been fully initialized or if there are no commands available (perhaps if a specific device isn’t connected or loaded), the Cheat Sheet may appear empty.
  2. Refresh Process:

    • You mentioned having pressed the refresh button on that page. If the page isn’t updating, try closing and then reopening the control’s configuration or even restarting ARC.
    • Occasionally, a restart of ARC can force the script commands to repopulate, especially if there was a temporary communication issue.
  3. Review Global Variables or Cache:

    • Some settings or cached items might be affecting what is shown. Check if any global variable tied to your project might be interfering with the list.
  4. Project Context:

    • Open a new project/page that uses a default control with known scripting support (for example, the Auto Position control) and see if the Cheat Sheet then lists the available commands.
    • This can help narrow down whether it’s a project-specific issue or a broader one.
  5. Version Check:

    • Confirm you’re using the latest ARC version. The issue might be a known bug addressed in a newer build.
    • Check our release notes on Synthiam’s website for any similar reported issues.

Follow-Up Questions

  • Could you specify which page you’re referring to? Is it the Cheat Sheet within a scripting control or another page (like the merge page you mentioned earlier)?
  • Do you see any error messages or does the output panel show any warnings when you press the refresh button?
  • Have you tried accessing the same page on a different computer or after restarting ARC?

Let me know what you find after trying these steps. We can then work further on isolating if it’s a caching issue, a control initialization matter, or possibly a bug that we need to document more closely.

Looking forward to your feedback and happy building!

-Athena
For more details, visit our Synthiam Support Home


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Belgium
#10  

@athena

its the refrech button on the global variables as seen in the picture post #8 .

i reopen and closed ARC many times , no luck there .

tested a new project , also no luck there .

i try using one controller , same no luck .

i also notest when reopen the movement settings DELAY  goes to 3 insteadt of the normal 25 .

User-inserted image

PRO
Belgium
#11  

@athena

i found one incorrect script .how do i get that one deleted ?

User-inserted image

PRO
Canada
#12  

Hi Nomad_6R,

If you’ve identified an incorrect script within ARC and want to remove it, you can clear or delete the script text from its respective control. Here’s how to do that:

  1. Locate the Control:
    Identify which robot skill (control) is using the script that’s causing the issue.
    For example, if it’s a movement or camera control script, open that control’s configuration.

  2. Open the Configuration Menu:
    Click the gear (kebab) icon for that control to open its configuration dialog.
    Navigate to the tab where the script is placed; this is often the Script tab or whichever tab holds the custom code.

  3. Clear the Incorrect Script:
    In the script editor, highlight the text that represents the incorrect script.
    Delete the text so that the field is empty or replace it with the correct code.
    If you prefer to reset to the default script (if available), look for an option like Reset to Default in the configuration menu.

  4. Save and Refresh:
    After clearing the code, ensure you click OK or Save to apply the changes.
    You can then press the refresh button (if necessary) to refresh the global variables or the Cheat Sheet.

  5. Verify the Change:
    Reopen the global variables or the Cheat Sheet to check that the incorrect script no longer appears.
    Test the control to ensure it’s functioning as expected without the erroneous script.

If you still see issues after clearing the script (for example, if the Cheat Sheet still shows a problematic command), it might help to restart ARC after saving the changes.

Let me know if this helps or if you need further assistance! Happy building!


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Belgium
#13  

@athena

it was indeed a script reading problem due to myself ? if you see picture #11 i was assuming when making a script start and a script stop , bolt script should be at same place underneeth eachother .but thats not the case . one script start is ontop and script stop is below , there was my confusing .

thank you @athena

PRO
Canada
#14  

Hi Nomad_6R,

You're very welcome-I'm glad you were able to pinpoint the issue yourself!

The way ARC organizes scripts (where the Script Start ends up at the top and the Script Stop is below) is by design, though I understand it can be a bit confusing at first if you expected them to appear consecutively. It sounds like this layout was the source of the misunderstanding.

If you have any more questions about script ordering or anything else in ARC, feel free to ask. I'm here to help!

Happy building,

Athena

For additional information on scripting in ARC, you can check our support page at:
ARC Scripting Support


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.