Table of Contents
In this chapter, you are introduced to the possibilities and functions VisualApplets offers to the advanced user. This comprises, amongst other options, a clear structuring of larger designs, creating your own libraries, creating multiple-process designs, defining settings for design and build, and working with different program versions.
The HierarchicalBox operator is a special operator in VisualApplets that allows to structure designs. As the name implies, the operator has the function of a box. You can mark a part of your design and make it the content of a hierarchical box.
The hierarchical box is visible in the design as an operator instance (of operator HierarchicalBox). The content of the hierarchical box you can see and edit in an individual design window.
A hierarchical box contains a combination of operators and links and can connect them to an arbitrary number of input and output links. The use of HierarchicalBox modules allows you to
-
structure your design very clearly, and to
-
administrate groups of modules.
In the design panel, the HierarchicalBox module is displayed as an M-type operator (oval shape); nevertheless, its behavior depends on the operators inside the hierarchical box.
The following figure shows an example of a HierarchicalBox. As you can see, the operators included in the hierarchical box are displayed in a separate design window. Depending on the window settings, both diagrams can be viewed at the same time as shown in the example. See 'Main Program Window' for more information on how to arrange diagram windows.
There are several ways to add a hierarchical box:
-
Making a part of your design a hierarchical box:
-
Select the modules of your design you want to assemble as hierarchical box. (Press the STRG key on your keypad and click on the modules you want to assemble.)
-
Keep the STRG key pressed and right-click on an empty part of the design window to open the context menu.
-
From the context menu, select .
A new hierarchical box is created that contains all selected modules and the according in- and out links.
-
Double-click on a hierarchical box to open the diagram window that shows the hierarchical box implementation.
-
-
Defining an empty hierarchical box:
-
Select the HierarchicalBox operator from the Base library and add it to your design, or
Right-click on an empty area in a diagram and select → , or
select → from the main menu, or
Select the icon
in the Edit toolbar.
-
In the window that occurs, define the number of input and output links of your new HierarchicalBox.
-
Click .
The HierarchicalBox module is inserted into your diagram; it has the number of input and output ports you just specified.
-
Double-click on the hierarchical box module to open its design window.
-
Add the operators you want to have in your hierarchical box.
-
Connect the design in the box to the input and output ports of the box via links.
-
To go back to the design window of the process that contains the hierarchical-box module:
To step back in the hierarchy:
-
Select → ( Backspace ) or click the Window Up button
in the View toolbar.
To open the module properties:
-
Right-click on a hierarchical box and from the context menu, select "Properties". Here, you can see and edit the parameters of the hierarchical box that are available for parametrization.
For information how to make parameters deeply nestled within a protected hierarchical box (or within a protected hierarchical box that is part of another protected hierarchical box) visible and available at this level, see the Operator Reference, library "Parameters".
You can use hierarchical boxes more than once by copy & paste. Each instance of a hierarchical box is independent from its siblings,i.e., if you make changes to one of the copied hierarchical boxes, this has no impact on the others.
For information on how to use hierarchical boxes as library elements and protected library elements, see section 'Creating a User Library Element'.
You can add further input and output ports to your hierarchical box anytime. To add a port:
-
Navigate to the design window that shows the hierarchical box module.
-
With the mouse pointer, go to an input port (if you want to insert an input port), or to an output port (if you want to insert an output port) so that the port is highlighted.
-
Right-click on the port.
-
From the context menu, select or .
The new port is inserted. It is given a default name. To give an individual name to the port, use context menu item (see below).
You can delete input or output ports of your hierarchical box anytime. To delete a port:
-
Navigate to the design window that shows the hierarchical box module.
-
With the mouse pointer, go to the port you want to delete so that it is highlighted.
-
Right-click on the port.
-
From the context menu, select .
The port is deleted.
To enhance the readability of your design, you can give names to the input ports and output ports of a hierarchical box:
-
Navigate to the design window that shows the hierarchical box module.
-
With the mouse pointer, go on the port you want to re-name so that it is highlighted.
-
Right-click on the port you want to re-name.
-
From the context menu, select .
-
In dialog , enter a name for the port.
-
Click .
The new name is visible, for example, in the design window of the hierarchical box module:
In quite the same manner as renaming, you can re-order the ports of a hierarchical box module:
-
Navigate to the design window that shows the hierarchical box module.
-
With the mouse pointer, go on the port you want to change the position of so that it is highlighted.
-
Right-click on the port you want to re-order.
-
From the context menu, select or .
The order of the ports is swapped. This is visible, for example, in the design window of the hierarchical box module:
The re-arrangement of port order has no impact on the functionality of the hierarchical box. The re-arranged ports are linked to the same inner and outer design elements as before.
In user libraries, you can encapsulate a combination of modules which you need more than once and store this combination for later re-use.
You can define as many user libraries as you want. Each user library can contain as many user library elements as you want.
A user library element contains a specific combination of modules and links. After you create them, library elements are available in the library panel (tab User Library) and can be used like operators.
A user library element is pretty much the same as a hierarchical box (see 'Hierarchical Boxes'). The difference is that user library elements are stored in a (user-defined) user library and can be inserted into different designs and projects, just as operators from the operator libraries.
The instances of a user library element are independent from each other, that is, if you make changes to one of the instances, this has no impact on the other instances of the same user library element.
User libraries are saved as *.vl files. These files are not part of a particular project. Thus, they can also be used in other projects.
In the System Settings of VisualApplets, you can specify where you want the *.vl files to be stored on your system (see 'System Settings').
When you have inserted the instance of a user library element into a design, you do not need the *.vl file for loading the project or for building the applet (*.hap file).
To create a new user library, proceed as follows:
-
In the library panel, click the User Library tab.
-
Right-click in the user library window.
-
From the context menu, select .
(Alternatively, you can also use the main menu → .)
-
Give a name to your new user library and click .
Now, an empty user library (functioning like a container) has been created which you can fill now with your user library elements.
There are two ways to create a new user library element. You can either
-
save a hierarchical box as a user library element (for general information about hierarchical boxes, see 'Hierarchical Boxes'), or
-
create a user library element from scratch (see 'Creating a New User Library Element from Scratch').
-
Right-click on a hierarchical box to open the context menu of the module.
-
Select .
A Save dialog pops up:
-
Select the user library you want to save the new element in (or, alternatively, click on New User Library and define a new library).
-
Enter a name (under Element Type) for your new user library element.
-
Optionally: If you want to add information on your element (version number, short description, individual GUI Icon, documentation in form of HTML help files):
-
Click on . A new dialog opens:

Figure 124. Adding documentation, version information, short description, and/or individual GUI Icon
-
Enter a version number for your library element if you want to.
-
Enter a short description for your library element if you want to.
-
To specify a specific icon to be displayed together with the library element on the VisualApplets GUI, in field specify the path to the PNG file or use the navigation button on the right hand side of the field.
-
To add documentation describing your user library element, click the plus button under and navigate to the HTML file that holds the text of your documentation.
You may specify multiple HTML and image files. If you add multiple HTML files, the first HTML file in the list will be the starting page of your documentation. The starting page is displayed as documentation of your user library element (in the information panel, tab Help). The additional files may contain images or further HTML files that are linked by the starting page.
![[Note]](../common/images/admon/note.png)
Naming and Storage of Help Files When you save your user library element later on, all the files you specify here will be copied to the VisualApplets installation directory, sub-directory . The starting page of your documentation (first HTML file in the list) will be renamed and will have the name of the user library element:<elementname>.html
To unlink an HTML file from the library element, select the file and click on the delete button. The HTML file will be unlinked, but remains in your file system.
-
Confirm the details specification of your new user library element with .
-
-
If you want to protect your user library element, select the Protection option. This way, the user library element is made a “black box”. (For details on element protection, see 'Protecting User Library Elements'.)
-
Click .
The optional PNG and HTML files are copied to the VisualApplets installation directory, sub-directory .
If you activated the Protection option, an additional dialog Protect User Library Element appeares.
-
Make sure protection mode is activated.
-
Enter your password and click .
All User libraries and their contents are available in the library panel (see 'Main Program Window'). Click on the User Library tab to display the User Library window.
The icon you selected is visible together with the library element.
Detailed information on an individual element is displayed in the tooltip:
If you select the new user library element, the according help information is displayed in the information panel under tab Help.
The display within the design window has changed: Instead of "HierarchicalBox", the name of the user library element is displayed. The icon for hierarchical boxes has been replaced by the icon you selected for the library element. The name of the instance within the design (below the icon) has remained the same.
-
You can change your user library element any time later on (see section 'Editing User Library Elements'. However, these changes will not be promoted to the instances of the element. You have various options for updating the instances of a user library element if you want to (see section 'Updating Instantiated User Library Elements'.
![]() |
Analysis of User Library Elements |
|---|---|
|
Design Rules Check Level 1 is possible. Resource analysis, build, and simulation are not possible. |
Alternatively, you can create new user library elements from scratch. For defining and/or changing user library elements, you use the User Library Editor.
To define a new user library element from scratch:
-
From the main menu, select → → .
Now, the design editor closes. Together with the design editor, also the design you have been working on is closed.
The user library editor opens. The user library editor behaves like the normal design editor.
-
Define a name for your new user library element.
-
Select the target hardware platform.
(However, the platform is only relevant if you include operators in your element that are dependent on hardware issues, such as camera operators.)
-
Click .
-
As soon as you click , a dialog box opens where you have to specify the number of input and output ports of your element. Make sure you specify the right number of input and output links since it is not possible to change these numbers later on.
-
Specify the number of input ports you need.
-
Specify the number of output ports you need.
![[Caution]](../common/images/admon/caution.png)
Define necessary number of links Make sure you specify the right number of input and output links since it is not possible to change these numbers later on.
-
-
Confirm the port definition with OK.
The user library editor opens with an empty element design containing only the imput and output ports you just specified.
-
Edit the design of your user library element as you want.
-
When you are finished, save your element by selecting from the main menu → .
-
Select the user library you want to save the new element in (or, alternatively, click on New User Library and define a new library).
-
Optionally: If you want to add information on your element (version number, short description, individual GUI Icon, documentation in form of HTML help files):
-
Click on . A new dialog opens:

Figure 129. Adding documentation, version information, short description, and/or individual GUI Icon
-
Enter a version number for your library element if you want to.
-
Enter a short description for your library element if you want to.
-
To specify a specific icon to be displayed together with the library element on the VisualApplets GUI, in field specify the path to the PNG file or use the navigation button on the right hand side of the field.
-
To add documentation describing your user library element, click the plus button under and navigate to the HTML file that holds the text of your documentation.
You may specify multiple HTML and image files. If you add multiple HTML files, the first HTML file in the list will be the starting page of your documentation. The starting page is displayed as documentation of your user library element (in the information panel, tab Help). The additional files may contain images or further HTML files that are linked by the starting page.
![[Note]](../common/images/admon/note.png)
Naming and Storage of Help Files When you save your user library element later on, all the files you specify here will be copied to the VisualApplets installation directory, sub-directory . The starting page of your documentation (first HTML file in the list) will be renamed and will have the name of the user library element:<elementname>.html
To unlink an HTML file from the library element, select the element and click on the delete button. The HTML file will be unlinked, but remains in your file system.
-
Confirm the details specification of your new user library element with .
-
-
If you want to protect your user library element, select the Protection option. This way, the user library element is made a “black box”. (For details on element protection, see 'Protecting User Library Elements'.)
-
Click .
The optional PNG and HTML files are copied to the VisualApplets installation directory, sub-directory .
If you activated the Protection option, an additional dialog Protect User Library Element appears.
-
Make sure protection mode is activated.
-
Enter your password and click .
All User libraries and their contents are available in the library panel (see 'Main Program Window'). Click on the User Library tab to display the User Library window.
The icon you selected is visible together with the library element.
Detailed information on an individual element is displayed in the tooltip:
If you select the new user library element, the according help information is displayed in the information panel under tab Help.
-
-
If you want to proceed working on your design, close the user-library-element design and the user library editor: From the main menu, select → .
![[Caution]](../common/images/admon/caution.png)
Close element design via File->Close It is not enough to close the element design by closing the tab of the design. You need to close the user library editor, too.
To close both, click → . Only after closing the design of your user library element (and thus the library editor) in this way, you can re-open the normal design editor and thus your overall applet design.
-
To continue working on your design, open your design.
You can change your user library element any time later on (see section 'Editing User Library Elements'. However, these changes will not be promoted to the instances of the element. You have various options for updating the instances of a user library element if you want to (see section 'Updating Instantiated User Library Elements'.
![]() |
Analysis of User Library Elements |
|---|---|
|
Design Rules Check Level 1 is possible. Resource analysis, build, and simulation are not possible. |
You can create an instance of an element by a simple drag & drop into your design (as you do with operators).
The instantiated module behaves like a hierarchical box, but knows it descends from the user library.
You can adapt instances of user library elements to fit your overall design. You may need to
-
modify individual operator parameters
-
modify the layout (adding and deleting of operators and links)
![]() |
Changing Link Properties |
|---|---|
|
Changed link properties do not change the implementation of the library element instance. Example: If a library element has been saved with a parallelism of 4, but its instance is connected to a parallelism of 8, this of course has an influence on the links inside the instance. However, this is not a change of the implementation of the instance as no operator parameters are influenced by a change of the link properties. |
After you changed an instance of a user library element - either by modifying individual operator parameters, or by modifying the layout (adding and deleting of operators and links), the instance is no more a mere copy of the user library element.
To keep you informed which instance contains changes, the modified user library element instance is marked:
This is very important for you to know, as updating the instances of a user library element (see section 'Updating Instantiated User Library Elements') overwrites the changes you made to an instance. You should always carefully consider the pros and cons before selecting an automatic update for an instance that contains changes.
You can protect user library elements. After protection has been enabled, the user library element is made a “black box”.
There are two ways to protect a user library element:
-
Protection via password: The user library element can afterwards be opened and edited via password. Users that do not have the password will not even be able to see which operators are used in the user library element (black box).
-
Irreversible protection: The user library element is made a black box for ever and cannot be re-opened, not even by yourself.
To protect a user library element via password:
-
Right-click on the element.
-
From the context menu, select .
-
Make sure protection mode is activated.
-
Enter your password.
-
Click .
![]() |
"One-Way" Protection Irreversible |
|---|---|
|
If you select protection mode One Way (instead of Password), the user library element can never be re-opened, not even by yourself. If you plan to enhance the element at a later point of time, make sure you select protection mode instead. Alternatively, you can save a copy of the element (as a hierarchical box or a non-protected operator) before enabling this protection mode. |
You can make changes to your user library elements. You can do this by either
-
editing the library element itself in an library editor, or by
-
overwriting it with a changed instance or a hierarchical box.
However, these changes are not propagated automatically. If you want an instance of a library element to reflect the changes you made to the element, you need to update the instance (see section 'Updating Instantiated User Library Elements').
You can edit your user library elements in the user library editor. To open the user library editor:
-
Save the design you are currently working on.
-
In the library pane, go to tab User Library.
-
Right-click the element you want to edit.
-
From the context menu of the element, select .
Now, the design editor closes. Together with the design editor, also the design you have been working on is closed.
The user library editor opens. The user library editor behaves like the normal design editor.
-
Make your changes.
-
Save your changes.
If you want to edit the element description and version number:
-
From the main menu, select → .
-
Save the edited element.
Analysis of User Library Elements: You can carry out Design Rules Check Level 1. However, bandwidth analysis, resource analysis, build, and simulation are not possible.
![]() |
Updating Instances |
|---|---|
|
When you make changes to user library elements, the instantiated elements in your designs are not updated with these changes. If you want an instance of a library element to reflect the changes you made to the element, you need to update the instance (see section 'Updating Instantiated User Library Elements'). |
Alternatively, you can edit a user library element by simply overwriting it. To do so:
-
Save a hierarchical box or an instantiated user library element under the name of an already existing user library element (as described in 'Saving a Hierarchical Box as a User Library Element').
![]() |
Updating Instances |
|---|---|
|
When you make changes to user library elements, the instantiated elements in your designs are not updated with these changes. If you want an instance of a library element to reflect the changes you made to the element, you need to update the instance (see section 'Updating Instantiated User Library Elements'). |
In the following sections you get information on how to update instantiated user library elements.
In the normal workflow, it happens that user library elements need to be updated. The changes you make to an element, however, have no influence on the instances of this element. To update the instances of an element in your design(s), you can either add your changes manually, or use one of the two update mechanisms provided by VisualApplets (see below).
If you decide to update the instances of the changed element manually, you can select multiple instances of the element in your design and change them all simultaneously in one step.
![]() |
No Hierarchical Update |
|---|---|
|
Hierarchical update of user library elements is not supported. If you select more than one module of a hierarchy for updating, only the highest module of the hierarchy is updated. |
You can update the instances of a user library element in a design via the function Quick Update.
![]() |
Updating Overwrites Changes within Instances |
|---|---|
|
Updating the instances of a user library element overwrites all changes you made to an instance (parameter settings, or adding/deleting operators). You should always carefully consider the pros and cons before selecting an automatic update for an instance that contains changes. To keep you informed which instance contains changes, modified instances of a library element are marked: ![]()
|
To update the instance of a library element via Quick Update:
-
Select the instance you want to update.
-
From the main menu, select → .
The selected instance of the element is replaced by a new one that reflects the changes you made to the element in the library.
Quick Update is only possible if the instances you want to update have the same number of input and output ports as the edited user library element. It is not possible to use Quick Update for replacing the instance of a user library element type A by an instance of user library element type B.
Via Quick Update, you can update multiple instances of an element at once:
-
Press the Ctrl key and hold it pressed while you select all instances you want to update.
-
From the main menu, select → .
All selected instances of the element are replaced by new ones.
When you select this option, the instances you want to replace do not have to be of the same type as the library element they are updated with. Thus, you can use this option to replace instances of user library elements or hierarchical boxes by the instance of another user library element. For example, you can replace the instance of a user library element type A by an instance of user library element type B (in contrast to option “Quick Update”). Nevertheless, also is only possible if if the instances you want to replace have the same number of input and output ports as the user library element you want them to replace with.
To replace one or more instances of an element by instances of another user library element:
-
Select the modules you want to replace (holding the Ctrl key).
-
From the main menu, select → .
The dialog window Update User Library Elements opens. The left-hand panel shows the module(s) you have chosen for update. The right-hand panel shows your user libraries.
-
In the right-hand panel, select the user library element you need. In the left-hand panel, all modules which can be replaced as you desire are highlighted in green (if not, check if the numbers of inputs and outputs fit).
-
Click .
Instantaneously, all listed modules with matching numbers of nodes are replaced by instances of the new user library element.
Example above: The numbers of inputs and outputs do not fit in two cases. Module 28 has only 1 input and 1 output port, whereas USRLibraryELement5 has three inputs and three outputs. Replacement of modules 32, 31, and 33 by USRLibraryELement5 is possible as they have exactly the same number of input and output ports as USRLibraryELement5.
Sometimes you might find it helpful to unlink an element instance from the user library. To do so, you can transform instances of user library elements into hierarchical boxes.
-
Select the module you want to transform in your design. (If you want to transform more than one module, press the Ctrl key and select all modules you want to transform.)
-
From the main menu, select → .
Instantaneously, all selected modules are transformed into completely independent hierarchical boxes.
Into the Custom Library, operators designed and provided by a user of the VisualApplets extension VisualApplets Expert can be imported.
You can create an instance of a custom operator by a simple drag and drop into your design as usual.
Step-by-step instructions for creating new custom operators and custom libraries, see Custom Operator User Guide
This document also contains a detailed description of the custom operator mechanism and all related files.
VisualApplets projects may include multiple processes. A process is the top level of a diagram and can include an arbitrary number of operators and hierarchical boxes. Each process can be started and stopped individually.
A good example where two processes are used is a two camera application. Have a look at the following figure. It shows two processes with a camera, a buffer and a DMA operator in each of the processes.
When the applet is used, both processes, i.e., both cameras can be started and stopped individually. If both cameras are in the same process, they have to be started and stopped simultaneously, as all DMAs of a process have always to be started.
To learn more about the usage of VisualApplets applets on hardware, see section 'Running Your Applet on Hardware', and/or the runtime documentation.
To add a new process, click → or choose the icon in the Edit toolbar.
To remove a process first select any digram window belonging to the process and afterwards select
→
or choose the icon in the Edit toolbar.
Processes always start with index 0 and have to be in ascending order. If a process is removed, processes with higher indices are shifted to fill the gap.
As mentioned, an applet process can only be used on the hardware after all DMAs of the respective process have been started. However, if a process does not contain any DMA channels, it will be immediately started after initialization of the applet. This is useful for trigger and signal processing applications as they are used before the image acquisition is started.
To learn more about initialization and usage of VisualApplets applets on hardware, see section 'Running Your Applet on Hardware', and/or the runtime documentation.
Image data between processes cannot be interchanged. However, using operators TxSignalLinks and RxSignalLinks, an interprocess communication for signals can be established.
A VisualApplets project is always based on a hardware platform, such as the microEnable IV VD4-CL, microEnable 5 VQ8-CXP6D etc. VisualApplets offers a powerful hardware porting system. The hardware platform can simply be changed. VisualApplets performs the porting to the new FPGA, DMA interfaces, memory, camera ports, etc. automatically. To perform a hardware porting open the design and select → from the main menu. VisualApplets will then ask for the new file name and allows the selection of the new hardware platform. A design rule check and the build of the new design file can immediately be performed.
Limitations
Of course, the new platform has to be capable of implementing the design. In the following cases, you may need to adapt your design to match the new platform:
-
A smaller FPGA might result in a logic overmap.
-
A project cannot be ported if the device resources are not available. For example, the number of DMA channels or digital output ports might not be available on the new platform.
-
Not all operators from the Platform libraries exist for each platform. For example, a Camera Link camera operator cannot be ported to a gigabit Ethernet camera operator. In this case, the missing operator is replaced by a Dummy operator.
-
Also operators from other libraries (e.g., EventToHost) may not be available for the new platform. In this case, DRC1 delivers an according error message:
The PixelPlant hardware is an add-on board family for microEnable IV. At the moment, two boards are available: PixelPlant100 and PixelPlant200 which differ in FPGA and RAM size.
To develop an applet for using the PixelPlant Px100 / Px200 hardware, two separate design parts have to be created:
-
A base design for the microEnable IV board
-
A design for PixelPlant
Both parts need to be handled in two separate VisualApplets design files. Both designs, PixelPlant and microEnable IV, have to be build, so that two HAP files are generated. Finally, both parts (HAP files) have to be merged into one hardware applet (HAP file).
For data transfer between the microEnable IV applet and the PixelPlant applet, operators TxLink and RxLink have to be used. TxLink operators transmit the data to a PixelPlant board, RxLink operators receive data from the PixelPlant. The PixelPlant part has to contain the corresponding RxLink and TxLink operators to pick the data from the microEnable IV and transmit it back. Each RxLink / TxLink operator has a channel ID parameter which selects the corresponding RxLink / TxLink operator on microEnable IV. Theses channel ID parameters as well as the link formats have to match on both, PixelPlant and microEnable IV.
The merging of two applets is explained in the next section.
Merging PixelPlant and microEnable IV designs can be done by using the HAP Merger utility. Access it by → . The utility dialog asks for the microEnable IV HAP file and its corresponding PixelPlant HAP file. Pressing the "Merge" button generates a HAP file containing both design parts. This merged HAP file is used to be loaded on the frame grabber.
Please note: The channel ID of corresponding RxLink / TxLink pairs have to match on both applets as well as the link formats. The hardware applet merger will not merge the HAPs if a mismatch is detected.
Even if VisualApplets comes along with a useful basic configuration, it can be adapted individually to fit the user’s needs in the best way. The configuration of the program can be changed and stored on the local computer. You can change your settings in several setting dialogs which are accessible over the user interface of VisualApplets.
You can define global settings for all users, personal settings for the current user, or local settings for a certain installation.
All configurations are stored in one configuration file (VisualApplets.ini). During the installation process, you have already selected the location of this file.
The following sections describe the setting options.
You can access the dialogs where you can specify your system settings as follows:
-
Select menu item → .
The System Settings window opens where you can choose between different setting categories. For each category, a settings dialog is displayed.
This dialog allows configuring the default locations of different types of files.
![]() |
Default Path Settings |
|---|---|
|
If Visual Applets is installed on your system in a folder that requires administrator rights (e.g., C:\Programs), you have to start VisualApplets with administrator rights in order to use the default paths. Alternatively, you can adapt the path settings under System Settings / Path Settings. Also adapt the path under 'System Settings' / Global Build Settings / Generation of Hardware Applets / Path for storage of hardware applets (*.hap) in this case. |
Temporary files
Path for temporary files: While running, VisualApplets needs to generate temporary files. Usually, these files will be deleted when VisualApplets is closed. Select the directory where these files should be created.
Use the system’s temporary directory: If you check this option, VisualApplets retrieves this location from the operating system. This is the recommended setting. If you want to use another directory for this purpose, un-check this box, specify an alternative directory in the field above and make sure it is not write-protected.
User libraries
Path for storage of user libraries: User libraries are containers for modules created by the user himself. (See the according chapter for further details.) In this field you can specify the directory where the user-defined modules are to be saved to and loaded from. Change this directory to another directory (e.g., to one on a network drive) when you are sharing these libraries with other team members or on different PCs. Make sure this directory is not write-protected.
Custom libraries
Path for storage of custom libraries: Custom libraries are containers for custom operators created by the user himself. (For creating custom operators, a VisualApplets Expert license is required.) In this field, you can specify the directory where the custom operators are to be saved to and loaded from. Change this directory to another directory (e.g., to one on a network drive) when you are sharing the custom operators with other team members or on different PCs. Make sure this directory is not write-protected.
Script collection
Path for storage of your Tcl script collection: VisualApplets allows you to create Tcl scripts and to make use of the individual Tcl procedures as library elements. In this field, you can specify the directory where your Tcl scripts are to be saved to and loaded from. Change this directory to another directory (e.g., to one on a network drive) when you are sharing the your Tcl script collection with other team members or on different PCs. Make sure this directory is not write-protected.
VisualApplets designs
Path for VisualApplets designs: Here, you can define the default location where VisualApplets saves design files (*.VA) and loads them from. Make sure this directory is not write-protected, and clear the Use previously selected directory option.
Use previously selected directory: If the box is checked, VisualApplets suggests to save the *.va file into the directory you used last time for this purpose. If unchecked, VisualApplets suggests the directory specified in the field Path for VisualApplets designs for saving/loading design files.
SDK projects
Path for storing SDK projects: Select here the default location of the automatically generated source code („SDK project“) that demonstrates the usage and parametrization of the generated applet inside the runtime. The SDK project is generated after the build of the hardware applet or on demand when you choose from the menu → .
Help
Path to help: Points to the base directory where the files for operator and context help are installed. You can change this path to a central location in order to share the help files among different installations. Make sure the help files are available in the directory you specify.
![]() |
Where to store the hardware applets (*.hap files created during the build process) |
|---|---|
|
The directory for storing your final hardware applets (*.hap files) you define under 'System Settings' in the category Global Build Settings and here under Generation of Hardware Applets / Path for storage of hardware applets (*.hap). |
These settings affect the default behaviour of the simulation functionality of VisualApplets.
Simulation Sources
Location of images for simulation: Specify here the directory where VisualApplets should get the images for simulation. VisualApplets comes along with some sample images for demonstration. But in a real world, you will have your own images, similar to those which have to be processed. Specify the directory where your test images are.
Use previously selected directory: If the box is checked, VisualApplets first suggests the directory where you selected an image for simulation from last time. If unchecked, VisualApplets always suggests the directory specified above for loading images.
Simulation Probes
Path for destination images: Storage location of image files which are created at simulation probes while the simulation is running. This setting comes up as suggested path when the user is saving the collected simulation results of a certain simulation probe.
Temporary Image Files
Path for temporary image files: Storage location of temporary files which are created while the simulation is running by modules processing simulation data. The specification of this location allows VisualApplets to pick up these files automatically, e.g. at a certain module, and to put them as a source to another part of the design or to another module within the same design.
Use VisualApplets’ temporary directory: If you clear this option, make sure the directory you specify is not write-protected. If write-protected, VisualApplets cannot simulate data at all.
The results of the simulation are saved in a binary file format. Two different formats are available:
-
Save Raw Data as *.rsd : Files are saved in the „RSD“ file format (image data and descriptive data).
-
Save Raw Data as *.raw: Files are saved in the „Raw“ file format (image data only).
Normally, the user doesn’t need to edit any of these settings.
Simulation Options
VisualApplets (version 3.2 and higher) is equipped with a new simulation Engine. The new engine gives a very realistic depiction of the data flow and allows simulating blocked image data streams. The new engine is enabled per default. You can disable the new engine here in cases where you prefer the old simulation engine.
I/O Image Library
Here, you have the choice between two libraries: You can define to use either the Image Magick libary for loading and saving images, or the native implementation of VisualApplets. The Image Magick library is selected per default.
Below, you can set the compression parameters for saving probe images.
These settings allow the user to define the default target platform the applets created in VisualApplets (target hardware applets) will run on. To set this settings is helpful when a developer’s work is focused on certain framegrabbers („Hardware platform“) or certain operating systems of the Runtime („Operating system platform“).
Default platform for target hardware applets
Hardware platform: The hardware platform selection shows all available hardware platforms (frame grabber types) which are currently available at the installation of VisualApplets. The platform you specify here will by suggested by the program as the default platform when you create a new design by using the menu item → .
Example: If you create a project based on a microEnable IV – VD4-CL frame grabber, you can set this hardware platform here as the default platform. It will be suggested by the program when you create a new applet design.

Figure 144. Example: If you always create applets for a Win64 system, you can set this operating system platform here as the default platform
Operating system platform: The operating system platform selection shows all available operating systems for which applets can be created. The platform you specify here will by suggested by the program as the default platform when you create a new design by using the menu item → .
![]() |
Tip |
|---|---|
|
Please note that the settings you enter here will come up as suggestions only. You can change both platforms any time, while creating a new applet, during the design process, or even when you are already done with the applet design. The information about target hardware and target operating system is stored in the according *.VA design file. |
This set of settings is related to the design window of VisualApplet.
Extended Link Capture
Defines the size of the capture area around the input or output ports of selected modules. Increasing the capture area allows an easier and faster creation of links for individual module ports since the user doesn’t need to hit the small ports exactly.
Layout presettings for new designs
Defines the default layout dimensions for new VisualApplets designs. This setting comes into effect when a new VisualApplets design is created via File/New. Please note that the layout dimensions of an existing design can be changed anytime via menu item Design/Diagram Layout Settings/ and are stored for each VisualApplets design individually.
Grid
Defines the default distances of grid lines in the design panel. This setting comes into effect when a new VisualApplets design is created via File/New. Please note that the grid line distance of an existing design can be changed anytime via menu item Design/Diagram Layout Settings/ and is stored for each VisualApplets design individually.
Link Appearance
These settings define the visualization of the connection links which are combining different modules at a design. Changes of these settings take effect immediately if you have a design file opened.
Link Tool Tip
Defines the information which is displayed at the tool tip when the user moves the mouse cursor over a link. Changes of these settings take effect immediately if you have a design file opened.
The settings of this category allow customizing the process of creating applets.
Specific Synthesis Directory
Here, you can specify the directory where temporary files created during the build process will be generated. These files will be deleted after the applet is generated. (See also Build trace files below)
Generation of Hardware Applets
Here, you can specify the location where generated hardware applets (*hap files) will be stored.
Create subdirectories for hardware platforms: Generates an additional subdirectory according to the platform name.
Copy applets to runtime directories: Copies the resulting files to the runtime (if installed) in order to load the files immediately to a present Framegrabber.
Build Trace Files
Keep build trace files: Here, you can specify a directory where the intermediate files (which will be generated during the build process) can be copied into for detailed analysis of these files or for traceability reasons.
Special Settings
Style of synthesized design netlists: Select here the style for netlist generation:
-
Use Optimized when building timing-critical designs to try to achieve a better timing closure in the build flow. VisualApplets will generate the FPGA netlist with an alternative naming scheme which in some cases helps the Xilinx tool flow to generate a better distribution of logic on the FPGA. The setting of environment variable VA_NETLIST_STYLE has no influence.
-
If set to Default, the environment variable VA_NETLIST_STYLE is consulted:
-
If the environment variable set to value 2, the alternative naming scheme is used for FPGA netlist generation. The alternative naming scheme in some cases helps the Xilinx tool flow to generate a better distribution of logic on the FPGA.
-
If the environment variable set to value 1, the legacy naming scheme (VisualApplets 3.1 and lower) will be used.
-
-
If set to Legacy, the legacy naming scheme (VisualApplets 3.1 and lower) will be used. The setting of environment variable VA_NETLIST_STYLE has no influence.
Besides the program settings it is possible to define default settings for each VisualApplets project.
These setting will be stored in the *.va file and comprise the target runtime, project details as well as diagram layout settings.
A VisualApplets hardware applet (HAP) can only be run on a single target runtime e.g. Windows 32Bit, Windows64Bit, Linux 32Bit, Linux 64Bit or QNX 32 Bit. When a VisualApplets project is build i.e. transformed into a HAP (See 'Build') the HAP can only be used on the previously selected target runtime. The build step allows the selection of the target runtime. However, a default target runtime can be defined for each project individually.
To set the default target runtime of a project select → . From the list, one of the supported target runtimes can be selected as shown in the next figure. This target runtime is now used for your project. Keep in mind to save your project file.
The default setting for new projects can be changed in the system settings. See 'System Settings' for more information.
For each project, a project name, a version number (string) and a description can be added. To edit these attributes of your project, click → Enter any string values as shown in the next figure. Do not forget to save your design after modification. The entered values are shown in the project info dock window. After Build, this information is included in the applet and displayed in microDisplay as parameter values under "Applet Properties".
To change the diagram layout settings of a project click on → (see next figure). You can change the design area size of a project. By default, the size is 2048 by 2048 pixel. Moreover it is possible to enable or disable the grid and change its step size. The grid can also be enabled and disabled from the icon in the View toolbar. Do not forget to save your design after modification.
To actually generate (build) the hardware applets (see 'Build'), VisualApplets uses a whole tool chain that works in the background.
For each hardware platform, VisualApplets provides a default build setup that is optimized for the specific hardware platform.
Based on the hardware platform you selected for your design in the design settings, the according default setup for build is proposed by VisualApplets. This setup cannot be changed by the user, but can be replaced by a user-defined setup.
![]() |
You have to replace the default build setup by own settings if ... |
|---|---|
|
![]() |
Recommended Xilinx Tools |
|---|---|
|
See Which Xilinx Toolchain and Version for Which Frame Grabber Platform? for detailed information about which Xilinx tool is required to build applets for which hardware platform. mE5 marathon and LightBridge: Although applet build for mE5 marathon and LightBridge is possible with ISE 14.7, Basler recommends to use Xilinx Vivado since applet build (synthesis) with Vivado is much faster for these platforms. |
Each time the program performs the build steps, a certain set of build parameters will be used.
There are several sets of build parameters that come with VisualApplets. You can add additional sets.
For building an applet, one of these sets has to be specified as the “Active configuration”. This configuration will be used and the tool chain will be controlled accordingly.
All setting information is stored in the file “SynthesizeSettings.xml” at your local installation.
![]() |
Activated and Current Parameter Set |
|---|---|
|
To open the Build Settings dialog, click → . The Dialog opens. The activated parameter set displayed:
In the following, we will refer to the parameter set displayed as the "current parameter set". |
The set of parameters itself consists of parameters for starting the external applications (Xilinx tools) that perform certain steps of the workflow, and of parameters for controlling these tools. You can define a certain set to be the default configuration (for starting a build of the current design) by checking “Active configuration”, and you can add a comment to describe the purpose of this specific set.
-
To open the Build Settings dialog, click menu → .
The Dialog opens. The activated parameter set is displayed.
![[Note]](../common/images/admon/note.png)
Before Adding the First Alternative Parameter Set As long as no additional parameter set for the target hardware of your design has been created, the default build settings are displayed.
You cannot make any changes to these default settings, therefore, all input fields are deactivated.
You also cannot uncheck “Active configuration” as there is no alternative to the default yet.
-
Click to create a new set of parameters.
You will be asked for hardware platform information. You can specify here which parameter set you want to load as a basis for creating your own parameter set. In most cases, it is quite sensible to select here the target hardware of your design.
-
Klick on in the Hardware Platform selection box.
Now, you can edit the first fields.
-
Name: Give a name to your new set of properties for identification. This name will show up in the configuration dialog and in the build protocols.
-
Active configuration: If you want to use this set of parameters when building your applet, check the box Active Configuration.
![[Important]](../common/images/admon/important.png)
Active Configuration The set of parameters you define as Active configuration will be used as often as you execute a build.
When you change the hardware platform you selected as target hardware platform of the design: Define new build settings for this new platform.
-
Precondition Check: In default mode, the Precondition Check is activated. The Precondition Check verifies that the FPGA type on the target hardware of your design is supported by your Xilinx tool chain. In addition, in all designs for mE5 or LightBridge platforms: When this check box is activated, the information in operator AppletProperties is updated at each build, namely the fields BuildTime and AppletUid. Therefore, after a build has been completed, the design is in "unsaved" mode, since the parameter values in the operator AppletProperties have been changed during build.
![[Note]](../common/images/admon/note.png)
Avoiding the Update of AppletProperties Under specific circumstances you might not want to update the AppletProperties operator by a build. In this case, simply de-activate the check box Preconditions Check.
-
Xilinx ISE/Xilinx Vivado: Select the Xilinx tool chain you are going to use. Vivado is supported by all marathon and LightBridge platforms. If Vivado is not supported by the target hardware of the open design, this is stated directly in the GUI:
-
Build Environment:
-
When using a newer Xilinx tool (i.e., when developing with Xilinx Vivado or with Xilinx ISE in a version higher than 9.2):
-
De-activate the “Use system environment” checkbox, and
-
from your file system, select the Xilinx settings batch file that sets the environment to launch the external tools.
Please follow the Xilinx documentation to make the best choice.
You find the batch file in the Xilinx installation folder:
-
ISE: \Xilinx\14.7\ISE_DS\settings64.bat.
-
Vivado: \Xilinx\Vivado\2016.1\settings64.bat.
Basler recommends to use the 64-bit Windows operating system when developing applets for microEnable 5 platforms. Make sure you select the batch file that matches the operating system you are using, e.g., "settings64.bat" which is the file for the 64-bit Windows OP.
-
-
If you use an older Xilinx ISE version (version 9.2 or older) and all environment variables are set at the operating system, activate the “Use system environment” checkbox.
-
-
Build Flow: Activate all options under Build Flow. Normally, all steps should be activated.
Basler recommends to set the system under Multi place and route to 20 iterations.
Keep the Command Mode at Use platform default value.
-
Applet Generation: Activate Applet Generation.
-
Comment: Enter a comment that describes the set of parameters you just created. The entries you make here have no effect on the actual build process.
-
Click the OK button.
Example: When developing for microEnable 5 or LightBridge, the following parameter values need to be set:
![]() |
Disabling Build Flow Steps |
|---|---|
|
Per default, all build flow steps (translation, mapping, ...) are activated: You can de-select individual steps. However, the build steps depend on each other. They are listed in the order of their dependence:
However, a previous step doesn't need to be executed within the same build run. It might as well have been executed in an earlier build run. As long as the files (trace files) that have been generated during an earlier build run are still available, it is possible to deactivate steps that come earlier in the "Build Flow" list and to activate steps that come later in the list. To keep trace files of earlier build runs: Go to menu → → . Under Build Trace Files, activate Keep build trace files. Deactivate Compress build trace files. If you keep the build trace files, and you have carried out all previous build flow steps once before, you can also activate only subsequent steps, e.g.: |
![]() |
Command Mode Options (VisualApplets Expert Only) |
|---|---|
|
Go to Command Mode at the right upper corner of the Build Flow area. In the list, you have three different options:
---------- Use platform default value (Default): If you keep or select this option, VisualApplets displays the default values recommended for the hardware platform you specified as target platform for the open design. VisualApplets also uses these default values when running the Xilinx tools (i.e., when the actual applet is build (synthesized) out of the open design). Since default sets cannot be modified, it is not possible to edit the Arguments fields in the Use platform default value mode. Append to platform default value: If you select this option, you can add information for the Mapping and Place and route tools to the basic arguments provided by VisualApplets. During build, VisualApplets adds the parameters you defined in the Arguments fields to the platform default values when calling the tool. This setting is for experienced users only. Overwrite platform default value: If you select this option, VisualApplets displays the default arguments for Mapping and Place and route for the target hardware platform you selected directly after creating the new applet set. You can define (overwrite) the Mapping and Place and route arguments stated here. VisualApplets now uses only the parameters you specify in these Arguments fields when calling the tools. This setting is for experienced users only. |
In the Build Settings window, you have some options for handling parameter sets:
Clicking on
-
Add creates a new parameter set which you can modify as you want (based on the hardware platform you select).
-
Copy copies the parameters of the current set, creates a new set and pastes the parameters of the copied set into the new set.
-
Import allows to import a certain set of parameters into the current installation of VisualApplets.
-
Export selected saves the current parameter set to a file. The file can be used for transporting the data to a different PC or installation or for backup reasons. A dialog is displayed where you can specify a file name and location.
-
Delete deletes the current set of parameters.
For mE 5 ironman, mE5 marathon and LightBridge, the checkbox Precondition Check offers a specific function:
-
If Precondition Check is activated, at each start of synthesis (build) the entries for BuildTime and AppletUid are updated. If you want to start a complete build (from netlist generation through to applet generation) you need to activate Precondition Check. Otherwise, later on (when using the applet on the frame grabber) the loaded applet cannot be reliably validated by the runtime environment.
-
Specific option: If you have already completely built an applet, but decide you need another *.hap file for another target operating system: You can build a new OS-specific hap file out of the complete build to make your design usable on other target operating systems (i.e., for another target runtime). Proceed as follows:
-
In menu Settings, select System Settings.
-
In the window that opens, select category Global Build.
-
Here, under Build Trace Files, activate the option Keep build trace files and specify a path.
-
Go to menu Settings, menu item Build Settings.
-
Deactivate option Precondition Check.
-
Deactivate all other options under Xilinx Build Flow.
-
Activate Applet Generation.
-
Under Defaults, activate Active Configuration.
-
Start the build of the OS specific *.hap file.
Especially with complex designs, this option allows you to save time.
-
Tcl provides the power of a programming language while being easy-to-learn. Using it can be as simple as calling commands in a shell. At the same time advanced programming techniques can be used to set up sophisticated processing schemes.
To combine VisualApplets with the power of a scripting language allows for an enormous increase of productivity.
You can
-
Automatize the creation of designs:
Use scripts to assemble components of your design controlled by parameters. Set up libraries of processing pipelines and create bunches of different designs automatically.
-
Automatize the simulation of designs:
Tcl allows you to define very extensive simulation runs: You can, for example, specify series of simulation runs over thousands of images stored somewhere in your file system. Or, you can define various simulation runs where different sets of design parameters are used for simulation.
![]() |
Documentation |
|---|---|
|
You find information on how to use the VisualApplets Tcl console and an extensive command reference at TCL Documentation. |
![]() |
Availability |
|---|---|
|
The VisualApplets TCL scripting feature is part of VisualApplets Expert. To use TCL scripting, you need to hold a VisualApplets Expert license. |
You can make the individual procedures in your Tcl scripts available directly in the VisualApplets GUI.
VisualApplets allows you to define a script collection (library) containing sorted commands that each call a specific procedure in a specified Tcl script. The commands are graphically available directly on the VisualApplets GUI. As soon as you start a command via mouse click or per Drag and Drop, the underlying procedure is carried out. You can monitor what happens in the Tcl console of the VisualApplets program window.
You can define a script collection either in a graphical way, using the VisualApplets GUI, or creating/editing an XML file that defines the script collection.
As all information regarding your script collection is stored in XML files, you can use version control systems not only for the individual Tcl scripts, but also for the structure and content definition of your script collection.
The commands are available in pane Script Collection:
![]() |
Documentation |
|---|---|
|
You find information on how to use the VisualApplets Tcl console and an extensive command reference at Creating Script Collections (Script Libraries) and at Command Reference. |
![]() |
Availability |
|---|---|
|
The VisualApplets TCL scripting feature is part of VisualApplets Expert. To use TCL scripting, you need to hold a VisualApplets Expert license. |
VisualApplets allows you to export VisualApplets designs as Tcl script (*.tcl).
You can use the script format for the following purposes:
-
revision control
-
comparing versions automatically (by creating "diffs")
However, some information is lost during export to Tcl script.
Therefore, you should always save your design in *.va format.
The Tcl file is not qualified to be used as the primary data format.
![]() |
Save Design in *.va Format
|
|---|---|
|
Use the The Tcl script does not contain the full design information. |
The following information is lost during export to Tcl script:
-
The local modifications you made in a user library element instance (to adapt the instance to the surrounding design) are lost. If you re-import a Tcl script into VisualApplets, the instance is inserted as a fresh copy of the user library element. The content of the instance in your design has not been saved in Tcl.
-
The content of info boxes is kept in Tcl format. However, the formatting of info boxes is lost.
You should always save your design in *.va format, too.
The Tcl file is not qualified to be used as the primary data format.
To export your design to a Tcl file (*.tcl):
-
From the menu, select → → .
-
Select a location for the
*.tclfile containing your design, and click on Save.
Now you can check in the Tcl file into your version control system, or find differences between different versions of the design using a "diff" tool.
To import your *.tcl design file into VisualApplets:
-
From the menu, select → → .
-
Browse to the location of the
*.tclfile containing your design, and select the *.tcl file. -
Click on Open.
Now your design is opened in VisualApplets, and you can
-
continue editing your design within VisualApplets,
-
save your design file as
*.vafile.
![]() |
Always use *.va File Format as Primary Data Format
|
|---|---|
|
Always use the Never use the Tcl script format as primary data format, as the Tcl script does not contain the full design information. |
In the generated Tcl source file the following VisualApplets-specific commands are used.
![]() |
Syntax |
|---|---|
|
Optional parameters: The notation of optional parameters follows the Wirth Syntax Notation (brackets). Parameter FullModuleName: Hierarchical path starting at process level. The hierarchies are separated by a slash. |
|
Command |
Parameters |
Description |
|---|---|---|
|
Creating, Loading, and Saving Designs |
||
|
CreateDesign |
Name Platform |
Command for creating a new design with the name "Name" for a hardware platform "Platform". For specifying the target platform of the design, you can either use
Using capitals in the names has no effect. |
|
SetDesignProperty |
Key Value |
Use this command to enter design properties. There are tree values you can use as key:
|
|
SetDesignClock |
NewFrequency |
Command for setting the basic clock frequency of the FPGA (in MHz). |
|
Setting up a Design |
||
|
CreateProcess |
- |
Creates a new process |
|
CreateModule |
OperatorType FullModuleName [ InPortMultiplicity [ OutPortMultiplicity {NamedPortMultiplicity} ] ] xPos yPos |
Creates an instance (Module) of an operator (OperatorType). The position of the module in the design window you define via parameters xPos and yPos. With FullModuleName you define the module's hierarchical position within the design and it's name after instantiation (e.g., Process0/branch). Optionally, you can use the value pair InPortMultiplicity and OutPortMultiplicity to specify the multiplicity of the vector inputs and vector outputs of the module. If you use this value pair, you define the number of ports (in operators with variable port numbers, like BRANCH) for the module (which is a specific instance of an operator). In addition, you can specify the multiplicity of individual vector ports (NamedPortMultiplicity). You can use NamedPortMultiplicity multiple times in one command line. The format is PortGroup:Number. Example: CreateModule BRANCH Process0/branch 0 0 O:3 100 100 |
|
ConnectModules |
FromModule FromModulePort ToModule ToModulePort [ x1 [y2 x3] ] |
Command for connecting modules. For FromModule and ToModule, use hierarchical names (names containing the hierarchical position of a module within a design plus actual module name, e.g., (e.g., Process0/branch). Nodes within hierarchical boxes are identified via the prefix "INBOUND#" or "OUTBOUND#". Example: "OUTBOUND#O001". The optional parameters x1, y2 and x3 you use to define the geometry of the connecting polygon (horizontal line from FromModuleOutputPort to x1, vertical line to y2, horizontal line to x3, vertical line up to the height of ToModulePort, horizontal line to ToModulePort). |
|
CreateComment |
FullModuleName Text xPos yPos |
The content of Text can contain Unicode characters. If you use characters that are not part of ASCII, use the according Tcl syntax to represent Unicode, for example: [encoding convert from utf-8 "A-Umlaut: \xc3\x84"] |
|
SetParamInt |
FullModuleName ParameterName Value |
Command for setting an integer parameter. |
|
SetParamFloat |
FullModuleName ParameterName Value |
Command for setting a floating point parameter. |
|
SetParamEnum |
FullModuleName ParameterName Value |
Command for setting an addressed enum parameter. Value is the string of the enum value. Example: Process0/module1 (SetSignalStatus), "SetParamEnum Process0/module1 Mode High" sets parameter Mode to High. |
|
SetParamString |
FullModuleName ParameterName Value |
Command for setting a string parameter. |
|
SetParamIntField |
FullModuleName ParameterName Index Value1 {OtherValues} |
Command for setting integer field entries starting with index "Index" for the following values. |
|
SetParamFloatField |
FullModuleName ParameterName Index Value {OtherValues} |
Command for setting float field entries starting with index "Index" for the following values. |
|
SetParamStatic |
FullModuleName ParameterName |
If a parameter can be static as well as dynamic, in the vast majority of cases the parameter is set to dynamic per default. Use this command to set such a parameter to static. |
|
SetParamDynamic |
FullModuleName ParameterName |
You can use this function to set a parameter to dynamic (if the parameter can be can be dynamic at all). |
|
SetLinkParam |
FullModuleName PortName ParameterName Value { OtherParameterName OtherParameterValue } |
Command for configuring links. The connection is identified via the connection node of a module. |
|
SetResourceMapping |
FullModuleName ResourceName [Index] NewMapping |
Command for changing the mapping of resources to a module. The resource ResourceName will be mapped to the new index NewMapping. In case the module allocates multiple resources of the same type, use the optional parameter Index for selecting the resource. |
|
Further Editing Commands |
||
|
Move |
FullModuleName [HierNodeName] PosX PosY |
Command for re-positioning a module, a H-Box node, a comment box, or a simulation module to a new position within the design window. Use parameter [HierNodeName] only for selecting an H-Box node. Nodes within hierarchical boxes are identified via the prefix "INBOUND#" or "OUTBOUND#"(like you do when using command ConnectModules), for example, "INBOUND#I000". |
|
CreateSimSource |
FullSimModuleName xPos yPos |
Command for creating a simulation source on the indicated position. |
|
CreateSimProbe |
FullSimModuleName xPos yPos |
Command for creating a simulation probe on the indicated position. |
|
ConnectSimModule |
FullSimModuleName TargetModuleName TargetModulePortName [ xPos yPos ] |
Command for connecting a simulation module with a link. The connection is identified via the specified module (TargetModuleName) and port (TargetModulePortName). TargetModuleName must be located in the same hierarchy as FullSimModuleName. Optionally, you can define the position of the connection on the link via the parameters xPos and yPos. |
|
SetSimModuleProperty |
FullSimModuleName Key Value {OtherValue} |
Command for configuring a simulation module. The following parameters can be set (in the list below, the key word Key is followed by the parameter values Value): PixelAligmentOffset BITS ImageFileSubPixels NUMBER ImageFilePixelBits BITS ImageFileNormalize CHOICE where CHOICE = "1" | "0" | "yes" | "no" | "on" | "off" | "true" | "false" CropRect [imageNr] X Y WIDTH HEIGHT CurrentImage INDEX |
|
AddImage |
FullSimSourceName ImageFileName1 {OtherImageFileName} [ImageLibrary] |
Command for adding an image to a simulation source. If the number of kernel elements on the link is > 1, you need to specify as many images as there are kernel elements on the link. Optionally, you can specify the image library you want to be used ( ImageLibrary = "Native" | "ImageMagick"). |
|
User Libraries |
||
|
InstUserLibOperator |
LibName OperatorName FullModuleName XPos YPos |
Command for instantiating a user library element. |
|
Custom Library Handling |
||
|
InstCustomLibOperator |
LibName OperatorName FullModuleName XPos YPos |
Command for instantiating a custom library element. |
Table 3. Commands for Creating and Editing a VA Design in Tcl
VisualApplets offers the possibility to print a diagram window or copy its content as an image into the system clipboard. The printing / screenshot is applied to the currently selected diagram window. The full window including all operators and links will be selected for output even if parts of the content cannot be fit into the current screen due to the limited resolution.
To start printing select the required diagram window and select → ( Ctrl+P ). The design will automatically be resized.
To generate a screenshot and copy the content into clipboard select the required diagram window and click on → . If you prefer to directly save the screenshot in an image file select → .
In VisualApplets version 3, files from version 1.2 and higher can be loaded.
Loading of files from previous versions might result in incomplete designs. Some names, functionality and parameters of some links and operators might have changed. VisualApplets will adapt, add, and transform most of the module settings to the new parameter sets. However, in some cases, an automatic transformation cannot be performed. In any case, you should verify your implementation if migrated from a previous version.
Migration from older versions can result in one of the following:
-
“Update to Current Version” Window
When a design using operators from an older VisualApplets version is opened, VisualApplets might ask for an update of the design to the current version.
-
Open Input Links at Signal Operators
If you do not use the auto update function “Update to Current Version”, the inputs of some signal operators might not be connected. VisualApplets offers a function to automatically connect Reset inputs to operator Gnd and Tick inputs to operator Vcc. Simply right click on the respective operator and select or .
-
Missing Operators
If an operator which was previously used does not exist in the current version anymore, it is replaced by operator Dummy. The missing operator has to be replaced. For most missing operators a replacement is available. Read the documentation of the operator in detail in 'Dummy'.
![]() |
Release Notes |
|---|---|
|
Check the VisualApplets release notes to get more information about changes. |














![[Tip]](../common/images/admon/tip.png)
































![[Warning]](../common/images/admon/warning.png)


Prev

