Polybench® Reference
Polybench Designer is a program that allows to design and use measurement configurations and graphical user interfaces for medical applications.

Polybench Designer

Overview

Polybench Designer (Polybench.exe) is a program you can start from your Windows Start Menu, or from the Polybench Manager program. Using this program, you can edit Projects ("Project") or make new ones.

An important part of this program is the Drawing Board, on which you can make a signal data analysis configuration using symbols.

Details

If you start up Polybench Designer, you will first see a message that shows that Polybench Designer is loading. After that, the Start Screen appears.

What is displayed on the start screen depends on your software provider. There are at least two things you can choose to do:

Create a new project
If you click on this item, the start screen will disappear and a large white screen will be shown. This large white screen is a Design Page ("Page"), on which you can draw analysis schematics.

Open an existing project
If you click on this item, a dialog pops up, asking you to find the project that you would want to load. Polybench projects are files that use the .XMC extension (see also ".XMC file"). Choose a file and click OK. Now, the start screen will disappear and the project will load. It depends on the project what you will see next.

Pre-defined start-up arguments of Polybench.exe

Polybench.exe can be started up from a script or from the Windows Explorer, optionally with the following arguments:
/?
Get a list of start-up arguments. Polybench is then closed immediately.

/program:"[path to an XMC file]"
Specifies a path to an .XMC file, that is to be loaded in Polybench Designer. If the file does not exist, Polybench will issue a warning and exit immediately.

/data:"[path to recording file]"
Specifies a path to a recording file, that will be set to the global variable $data$. See the File Replay operator ("File Replay") for more information on how to load a file in the /data argument into the project at start-up.
If the file does not exist, Polybench will issue a warning and exit immediately.

In the opened application, the specified path is available from the global variable $data$.

/start_action:"ACTION,$address,parameter value"
Specifies an action that should be performed immediately after a project or program has been loaded. This action (see "Actions - Overview" for more information) is called even before the start action of the project (see "Project").
If the action requires to specify an address, then the address is written after a comma (spaces are allowed). If the action requires a parameter value, then this value is written after another comma. Examples are:
/start_action:"START,,mySyncId"
/start_action:"SET_PARAMETER, $Design.K.Value, 2"
/start_action:"RESET"

/windowed
Start the specified program (see /program) in a window, and not completely full screen

/review
Specifies that the XMC program is a data review program (post process). Polybench will then use the in the patient management selected measurement as source for data analysis.

/language:[language]
Specifies the language for the user interface of the application that is loaded. Polybench looks in the directory Languages and tries to find a directory with the name as specified in this argument. If that directory is found, then the language files will be loaded for the .XMC program that is loaded.

/no_designer
Hides the designer. Now it looks like the XMC program starts as if it is a stand-alone program. This also makes Polybench start more quickly, because designer tools do not have to be loaded.

Free start-up arguments

Additionally to the above pre-defined arguments, you may define your own start-up arguments in the form /[argument_name]:"[value]". The argument name must not contain spaces! This argument is then available as global variable ("Free Global and Namespace Variables") that contains the specified value.

For example, if you use the start-up argument /MyFirstVar:"Hello World", then if the loaded project contains a Variable Viewer ("Variable Viewer") that specifies the Address $MyFirstVar$, it will then display Hello World.