In addition to programs, the Workbench Studio enables you to create monitoring files for testing your applications.

There are three styles of documents:

  • Spylist: A list of variables to watch the current value and state of the variable in the Runtime Service. You can put variables from different projects into this list to get an overview.
    The Spy list can be used as:
    • Spylist in the Blocks window of the Workbench Studio:
      Click on the entry Spylist of the blocks window to open the view.
      The Spylist enables a quick dynamic view on variables during debug.
    • Local Spylist for project items:
      Open the context menu of the program via a right click on the corresponding program in the project tree.
      Click on Insert New Item..., Watch and Spylist.
      Click on Next and enter a name for the new Spylist.
      Click on OK.
      The new Spylist will be shown in the project tree.
    • Multi Spylist for all projects:
      Open the context menu via a right click on (All Projects) in the project tree.
      Click on Insert New Multispylist.
      The new Multispylist will be shown in the project tree.
  • Recipe: A recipe is a list of variables completed with one or more predefined sets of values.
  • Graphic layouts with animated objects.

Lists, recipes and graphics are managed and open from the workspace area on the left of the Workbench Studio window. Use the Insert commands of the right click popup menu to create a document. Then double-click on it in the workspace to open it.

Managing lists

To insert a variable, use the Insert Variable popup menu command. Alternatively, you can drag variables from program editors or from the variable editor to the Watch window to insert them in the list.

Commands of the local toolbar allows you to modify or arrange the contents of the list. Use the Move commands to change the order of variables in the list. Lists can be created and edited in both offline and online modes.

Display variables

Additional to the default variable display option there are a few other possibilites:

Option

Description

Hexadecimal Display

Changes the visualisation of online values to hexadecimal format.

Only available in online or simulation mode.

Hexadecimal Display (This Symbol Only)

Changes the visualisation of one online value to hexadeciamal format.

Only available if one variable is selected in the variable list in online or simulation mode.

Binary Diplay (This Symbol Only)

Changes the visualisation of one online value to binary format.

Only available if one variable is selected in the variable list in online or simulation mode.

Forcing a variable

At run time, double-click on the value of the variable in the list or press ENTER key when it is selected. A small box appears and allows you to force / control the selected variable.

Dumping values

At run time, the value of a variable is displayed in text format in the Value column. You can place the mouse cursor on the value to display it in hexadecimal format. This feature is very useful when you spy strings with a large length or including non printable characters.

Recipes

Use the File / New / Recipe menu command to create a recipe. In addition to the list of variables and their values, extra columns can be added in the list for defining sets of values. To enter a value in a set, you just need to select the corresponding cell and enter the value. Some values may be missing in a set. Commands of the local toolbar enable you to create, rename or delete columns. The Send Recipe button is used for applying all the values of the selected set to the variables of the list.

attentionAttention

  • Use of recipes from the Workbench Studio ensures that all variables are written together at the same moment in the Runtime Service, i.e. in between two cycles. This leads to a limit of around 50 variables (or less if strings) sent together. This limit does not occur when the recipe is handled directly by the program with the ApplyRecipeColumn function.
  • Sending a recipe to the target requires special protocol. If the target is Runtime Service 1.21 or older, the request will be denied by the target system.

Created with the Personal Edition of HelpNDoc: Easily create EPub books