Top Menu Bar
3 minute read
The top menu bar runs across the top of the editor. Its buttons show or hide the side panels, keep your work saved, and connect the editor to a controller to preview or deploy the interface. Click a button to jump to its description:
Library
library shows or hides the Widget library on the left of the editor.
Parameters
parameters shows or hides the parameter tree of the connected controller, from which you pick the paths for your widgets. The button only appears while the editor is connected to a controller.
Autosave
With the
autosave checkbox ticked, the editor saves your changes to the .grid file as you make them.
Undo and redo
undo reverses your last change. redo makes a change that you undid again.
Deploy
deploy sends the interface to a controller, so that it is served from there.
- Press deploy. The deploy dialog opens.
- Fill in the address of the controller, for example
controller_ip_addressThe IP address of your controller. In most cases 192.168.2.100.. - Press deploy grid.
When the interface is deployed, the editor checks whether the Grid version on the controller is the latest, and offers to update it if not.
You can also deploy the whole GRID package from your project on motorcortex.io with its Deploy button. That also compares the Grid version on the controller with the latest one and updates it when they differ. The GRID package page describes where the controller stores the package.
Preview
preview opens the interface in a new window as the user will see it, without the editor around it and without the raster.
Connection
Connection connects the editor to a controller. The dot on the button is red while the editor is not connected and green once it is. Once connected, the parameters button appears.
Warning
Once connected, buttons, inputs and other controls write to the parameters of the running application. Check what a control does before you use it on a real machine.
| Field | What it does | Default |
|---|---|---|
| machine IP | The address of the controller, for example controller_ip_addressThe IP address of your controller. In most cases 192.168.2.100. |
|
| request port | The port for requests and replies, such as reading and writing parameters | 5568 |
| subscribe port | The port on which the controller publishes parameter values | 5567 |
| username, password | The login on the controller | |
| Secure | Connects over an encrypted connection | On |
| connect | Connects with these settings |
The deployed interface connects with the address and login in the Client connection settings.