Thumbnail

On Variable Changed

by Synthiam

This skill will execute a script when a variable has changed.

Requires ARC v3 (Updated 4/11/2020)

How to add the On Variable Changed robot skill

  1. Load the most recent release of ARC (Get ARC).
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Robot Skill from the button ribbon bar in ARC.
  4. Choose the Scripting category tab.
  5. Press the On Variable Changed icon to add the robot skill to your project.

Don't have a robot yet?

Follow the Getting Started Guide to build a robot and use the On Variable Changed robot skill.

How to use the On Variable Changed robot skill

This skill will execute a script when a variable has changed. Add the variable to watch, and a respective script. When the variable has changed, the script will run.

Main Window

User-inserted image

1. Status Display Displays variable changes.

Configuration

User-inserted image

1. Variable Name Field Enter in a variable name. 2. Script Field Enter in a script that you would like to execute when the variable changes.

3. Row Manipulation Buttons Move, Delete, Insert, or Append the rows that you have entered.

How to Use On Variable Changed

  1. Add the On Variable Changed Skill (Project -> Add Skill -> Scripting -> On Variable Changed).

  2. Configure the skill, add variables and corresponding scripts in the skill's configuration window.

  3. Now modify a variable, when it is modified, the respective script will execute.


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.