This documentation is out of date.

The new version of the documentation is here: https://cannylogic.com/docs

CANNY Lab Main window

From CANNY Wiki
Revision as of 12:56, 6 April 2016 by MEGA (Talk | contribs) (Диалог поиска функционального блока по его порядковому номеру)


Jump to: navigation, search

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

Main window

The main window is divided into several areas:

  • window title;
  • main menu;
  • toolbar;
  • function blocks 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

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 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 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;
- creation of autonomous firmware flash file;
- start CAN-monitor;
- change CannyLab settings;
- CannyLab interface language selection.


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;
- get information about program current version.

Toolbars

Toolbars allows to access the most popular commands of CannyLab.

4 4 2 1.png

Desktop Control Panel allows to scale 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

Workspace

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 used the vertical and horizontal scroll bar, mouse wheel or arrow keys.

4 4 3 1.png

Status bar

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 Blocks Panel

Functional blocks panel contains all available blocks 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 blocks 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

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

Диалог настройки параметров

Доступ к диалогу настройки параметров CannyLab можно получить, выбрав пункт «Сервис» → «Параметры» главного меню программы.

4 4 7 1.png

Проверка обновлений - Выбор периодичности проверки наличия новых версий программы
4 4 7 2.png
Цвет выделенного провода - Выбор цвета отображения выделенной соединительной линии
Ассоциация с файлами *.cfd - Связывает тип файлов функциональных диаграмм с текущим экземпляром CannyLab
Ширина диаграммы по умолчанию - Ширина области диаграммы при создании нового файла
Высота диаграммы по умолчанию - Высота области диаграммы при создании нового файла
Масштаб диаграммы по умолчанию - Масштаб отображения области диаграммы при создании нового файла
Автоматический подбор масштаба при открытии файла - Способ отображения диаграммы при открытии файла (при включенном подборе масштаба диаграмма, при открытии, будет, по возможности, полностью вписана в экран — отображена в соответствующем масштабе)


Список горячих клавиш

F1 Открыть справочное руководство;
Ctrl+N Создать новый файл диаграммы;
Ctrl+O Открыть файл диаграммы;
Ctrl+S Сохранить файл диаграммы;
Ctrl+A Выделить все;
Ctrl+Z Отмена последнего действия при создании и редактировании диаграммы;
Ctrl+Y Возврат последнего отмененного действия при создании и редактировании диаграммы;
Del Удаление выделенных элементов диаграммы;
Esc Выход из режима редактирования сети;
←, ↑, →, ↓ Сдвиг экрана отображения рабочей области влево, вверх, вправо, вниз;
PageUp, PageDown Сдвиг экрана отображения рабочей области на страницу вверх, вниз;
Ctrl + колесо мыши Быстрое изменение масштаба отображения рабочей области;
Alt + колесо мыши Горизонтальная прокрутка рабочей области редактора;
Shift + колесо мыши Ускоренная вертикальная прокрутка рабочей области редактора;
Нажатое колесо + движение мыши Перемещение поля диаграммы внутри рабочей области («перетаскивание»).