Top Menu Bar

What each button in the Grid editor’s top menu bar does: panels, autosave, undo and redo, deploy, preview and the controller connection.

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:

The top menu bar of the editor while connected: library, parameters, the autosave checkbox, undo, redo, deploy, preview and a green Connection button

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.

The deploy dialog: a field for the controller local IP address, and the buttons cancel and deploy grid
  1. Press deploy. The deploy dialog opens.
  2. Fill in the address of the controller, for example controller_ip_addressThe IP address of your controller. In most cases 192.168.2.100..
  3. 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.

The connection menu: machine IP 192.168.2.100, request port 5568, subscribe port 5567, username, password, the Secure checkbox and the connect button
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.