Class menu

Classes| New…

Create a new class.

Classes| Edit

Allows you to select a class and then edit it.

Classes| Copy

Can be used to copy a class.

Classes| Delete

Allows you to select a class and then delete it.

Classes| Properties

Edit the properties of a class.

Classes| Overview

Opens the dialog with the class overview.

  

Classes| Release

Opens the dialog with the version info of the classes. 

Scripts menu — 

Editing scripts

This opens the script overview and editing window:

 

The left part of the window, the Script Overview, shows all parts of the project hierarchy that can contain scripts.

Scripts are edited whenever the value of a VisXpert variable read in the script changes (data source). In applications, windows, classes or member groups, there are still three special scripts that are edited at special times:

  • Start: is edited when the application or window is opened (for element groups and classes: the window with the object or instance).
  • Stop: is edited when the application or window is closed (for element groups and classes: the window with the object or instance).
  • Timer: is edited in the set time grid as long as the application or window is open (for element groups and classes: the window with the object or instance).

Script variables are scripts that return a value as a result of their execution. They are processed when a VisXpert variable read in it changes the value, but only if its value is also currently used (e.g. output dynamics in an open window).

Functions have a return value and can be called with parameters. 

If you have selected an object in the script overview, you can add new scripts to it using its context menu (right mouse or menu button). If a script is selected, you can delete it in the same way.

About the menu items "Scripts| Search" and "Scripts| Search Forward" in the menu of the window, you can search for text in the source code of all scripts. This can be useful for quickly finding a script if you remember a short portion of its source code.

The upper right part of the window serves as a script editor. Here you can view and edit the source code of the selected script. A context menu with frequently required editing and help functions is available in the editor.

If you have changed the source code of a script, you must either translate it before switching to another script, save only the modified text (the script then has no code and cannot run in the flow), or discard the changes to the source code. Please use the commands from the "Scripts" menu.

In the lower right part of the window you can see the variable reference. Lists all VisXpert variables that are read or read in the displayed script. be written. When you select a specific variable in one of the Read Variables or Write Variables lists, you can see where else in the visualization the value of that variable is written ("data sources") or read ("data targets"). If this is a different script, you can switch to it by double-clicking it. (see Help Scripts).

In the context menu, actions such as:

  • Create a new script/function
  • Create a new folder
  • Rename folder
  • Copy script/function
  • Delete script/function
  • Change the type of a script variable
  • Edit properties of a function
  • Import script/function
  • Export Script/Function
  • Script/Function update

be carried out.

  

Translate scripts

In this dialog, all scripts (application windows and class scripts, scripts of member groups, element scripts, script variables and functions) can be translated (see Help Scripts).

Properties Menu

Features| Application

Under Menu Item Properties| Application, a dialog appears in which the width and height of the on-screen keyboard as it should appear in the sequence can be parameterized. 

Expiration

In the process, the on-screen keyboard is automatically positioned below or above an input field when the variable is set @System:Edit, the input output field receives focus, and the Enable On-Screen Keyboard property of the input/output field is set.

  

Help menu

VisXpert supports you in your work with detailed help texts.

Content

Use this command to call the table of contents of the VisXpert help system. You can always get context-sensitive help when you click the help button in a dialog box, or press the F1 key, or when you move the menu selection marker bar to a menu item with the arrow keys, and then press F1.

System info

You can use this command to query a number of system data from your PC. Displayed

  • About the VisXpert version and serial number
  • About the current VisXpert project
  • About the Windows environment
  • About hardware

You should provide this system information if you are contacting us with any problems.

About

This command gives you the version number of the editor.

The configuration area

On the configuration area, you can create new windows or edit existing windows. Insert your items into these windows. It is not possible to arrange elements on the configuration surface.

The origin of the configuration area is at the top left. From this reference point with coordinates 0.0, the coordinates of each window are calculated.

Window

The "Window| New" creates a new window. The properties of a window can be set from the "Window| Properties". For projects with multiple windows, you can set the display order of the windows. The selected window is activated when the window attributes are applied and brought to the foreground.

On the configuration interface, partially hidden windows can be brought to the foreground by selecting the window anywhere with the cursor. The TAB key activates your windows in the specified order and puts them in the foreground.

Within a window, the individual elements are defined.

The origin of a window is at the top left. From this reference point with the coordinates 0.0, the coordinates of the elements in the window are calculated.

Classes

A class can be saved by the menu item "Classes| new" can be created. Each class is drawn in its own window (class name = window name).

A class consists of n graphical elements. These can be inserted at any time.

In a class, the menu item "New| Class" additional classes are inserted if there are no objects of the class yet.

Class variables can be entered for each class. A class variable can only be deleted if there are no connections to it and there are no instances of it.

Each class can contain a start, stop, and timer script, as well as n other scripts. These scripts can access their own class variables and the class variables of the base class(s).

Class variables can be accessed from the dynamic properties of the graphical elements. If no element is selected in the class, the class dynamics can be edited.

Attention: Changes to dynamics, graphics or scripts of a class lead to changes in all objects of the application!

A class can only be deleted if it is not used in any other class. Deleting a class asks whether the class's objects should be deleted or converted into groups (Note: When you convert to groups, the scripts of the objects are discarded. The conversion can only be performed if there are no more connections to class variables).

Classes can be imported and exported. If a class contains additional classes, it also imports and exports them.

Class and window management

For the creation of a visualization, it is important to have an overview of the application. Especially for distributed projects with a uniform standard, classes or windows can be stored and managed centrally.

These versions stored in the library can be checked for up-to-dateness with the versions used in the visualization editor.

Thus, windows or classes can be easily updated from the library with the help of this version info. Similarly, revised objects can be exported to the library in a visualization.

Due to the color representation of the version info (yellow = editor version is new / red = library version is new / white = the same version status between visualization editor and library) a quick overview of the individual objects is possible.

Print Friendly, PDF & Email