CANNY Lab Main window

From CANNY Wiki
Jump to: navigation, search

CannyLab user interface consists of a single window - the main program window.

Main window[edit]

The main window is divided into several areas:

  • window title;
  • main menu;
  • toolbar;
  • function block panel;
  • workspace;
  • status bar.

Depending on the current operating mode of the editor, some of CannyLab menu items and panels may not be available or hidden.

4 4 1.png

Main menu[edit]

Menu "File" contains commands to work with CannyLab files.

4 4 1 1.png  
- create a new functional diagram file;
- open existing functional diagram file;
- save current functional diagram file;
- save current functional diagram file with a new name;
- save screenshot of the functional diagram in to graphic format png;
- view the current file properties;
- history of recently opened files (up to 5 records);
- Exit.

Menu "Edit" contains editor appearance adjustment commands.

4 4 1 2.png  
- undo the last action when creating/editing the diagram;
- return the last action when creating/editing the diagram;
- cut the selection of the diagram to the clipboard;
- copy the selection of the diagram to the clipboard;
- paste part of the diagram contained in the clipboard;
- delete the selected part of the diagram;
- search item by text;
- search next item by text;
- search previous item by text;
- search function block by its order number;
- selection of the entire diagram.

Menu "View" contains toolbar view customization and function block panel representation.

4 4 1 13.png  
- scale the workspace by the contents of the diagram;
- tolbars display settings;
- functional blocks panel display settings.
4 4 1 3.png 4 4 1 4.png

Menu "Device" contains commands to work with the controller.

4 4 1 5.png  
- search and establish communication with the controller connected via USB;
- actions with controller system software;
- action with functional diagram;
- Information about the connected controller;
- space reserved to use in future versions;
- complete communication session with the controller;
4 4 1 6.png - load firmware to the controller;
- erase controller firmware;
4 4 1 7.png - load user's functional diagram;
- erase user's functional diagram.

Menu "Simulation" contains controller software emulation mode control commands in the CannyLab environment.

4 4 1 8.png  
- enable/disable simulation mode;
- enable/disable focus lock on the active function block;
- enable/disable pause mode, at any data change;
- start / pause / resume diagram execution;
- active functional block execution;
- execution of the diagram to the active block;
- stop and reset the emulator to its initial state;
- binding simulation time-scale to windows system time;
- setting values display format in simulation mode;
4 4 1 9.png - setting decimal number system;
- setting hexadecimal system;
- setting binary system;
- setting character data mapping.

Menu "Service" includes service commands and CannyLab settings.

4 4 1 10.png  
- reorder functional blocks numbers on the diagram;
- change the boundaries of the workspace by the contents of the diagram;'
- creation of autonomous firmware flash file;
- start CAN-monitor;
- change CannyLab settings;
- change the interface language of CannyLab.

Menu "Help" provides links to this guide and information about the program.

4 4 1 11.png  
- View CannyLab program changes history file;
- open CannyLab reference guide;
- go to the online encyclopedia CANNY Wiki;
- check for CannyLab updates;
- get information about program current version.


Toolbars allow access to the most popular commands of CannyLab.

4 4 2 1.png

Desktop Control Panel allows scaling of the image to the workspace and change its dimensions in pixels. To quickly zoom in/out, rotate the mouse wheel while holding down the button «Ctrl» keyboard.

4 4 2 2.png   4 4 2 2a.png


Workspace is designed to display, edit, and debug functional diagrams. The background of the workspace is a grid that facilitates the positioning of functional diagram elements. To move over the diagram displayed in the workspace, use the vertical and horizontal scroll bar, mouse wheel or arrow keys.

4 4 3 1.png

Status bar[edit]

The status bar displays: for which controller current functional diagram designed, the presence of communication with the controller, the presence of the system software and functional diagram in the connected controller. In addition, in the simulation mode, the status bar displays information about controller resources used by custom diagram.

4 4 4 1.png

Functional Block Panel[edit]

Functional block panel contains all available block types for use in the construction of functional diagram. Functional blocks in this panel are arranged in groups by purpose and, depending on display setting may be presented as icons or a list. Scroll functional block panel can be performed using the vertical scroll bar or the mouse wheel.

Two options displaying functional blocks panel:

4 4 5 1.png   4 4 5 2.png

Functional block search dialogue by its ordinal number[edit]

Access to the functional block search dialogue by its ordinal number can be obtained by selecting "Edit" → "Find block" from CannyLab main menu.

4 4 6 1.png

Search dialogue by text[edit]

Access to the text search dialog for the specified fragment in CannyLab can be obtained by choosing "Edit" → "Find..." from the main menu of the program or by using the "Ctrl + F" key combination.

4 4 6 2.png

Settings dialog[edit]

Access to CannyLab configuration parameters dialogue can be obtained by selecting "Tools" → "Settings" from main menu.

4 4 7 1.png

Checking for updates - Selecting the frequency to check for new software versions
4 4 7 2.png
Selected Net colour - Choose selected connection line colorus
Associate CFD file type with CannyLab - Associates functional diagrams files type with the current version CannyLab
Default diagram width - The width of the diagram when creating a new file
Default diagram hight - The height of the diagram when creating a new file
Default diagram scale - The scale of diagram display area when creating a new file
Automatic selection of scale when opening a file - Diagram Viewing Mode when opening a file (if diagram scale selection enabled, when opened, will, if possible, completely fit the screen - is displayed on an appropriate scale)
Port to connect device - Choosing a COM port for connecting devices using the RS-232 interface for downloading the software (CANNY 5, CANNY 5 nano, CANNY 5.2, CANNY 5 duo, CANNY 5.2 duo)
4 4 7 3.png

Keyboard shortcuts[edit]

F1 Open Reference Manual;
Ctrl+N Create a new functional diagram file;
Ctrl+O Open a diagram file;
Ctrl+S Save diagram file;
Ctrl+A Select all;
Ctrl+Z Undo the last action when creating and editing diagram;
Ctrl+Y Return the last canceled action when creating and editing diagram (Redo);
Del Delete selected diagram elements;
Esc Exit network editing mode;
Left, Up, Right, Down Shift workspace display area Left, Up, Right, Down;
PageUp, PageDown Shift workspace display area page up, down;
Ctrl + mouse wheel Fast workspace zooming;
Alt + mouse wheel Horizontal workspace scrolling;
Shift + mouse wheel Express workspace vertical scrolling;
Pressing mouse wheel + moving the mouse Moving diagram field within the workspace ("drag and drop").
Double-click the left mouse button In the editor mode: on a network - quick call of the network renaming dialog. In the simulator mode: setting / removing a control point (on the network) or breakpoints (on the function block).
Ctrl + double-click the left mouse button In the simulator mode: quick forced setting / removal of the value "1" of any connecting line (network).