Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Canvas also includes an easy-to-use feature that allows the user to create lists of actions to be completed without the use of scripting. These action lists can be tied to the change in a tag value, opening and closing the page, and other actions similar to a script. The [Action Command Editor] can be accessed from the [Script Editor] window by pressing the (blue star) icon and selecting ‘Create New Action Commands’.

...

In the [Action Command Editor] the user can choose from a list of actions, and create a series of actions to be executed.

...

Action

...

Description

...

Open Page

...

Opens the selected page. Users can select the page by name or by its unique index.

...

Close Page

...

Closes the selected page. Users can select the page by name or by its unique index.

...

Set Tag Value

...

Sets the selected tag to a specified value. Users can select a constant value to write to the tag, or write another tag’s value to the selected tag.

...

Toggle Tag Value

...

Toggles the selected tags' value between 1 and 0. Only ‘BOOL’ type tags can be used with this action.

...

Enter Tag Value

...

Open a pop up keyboard that allows the user to enter a value to be written to the selected tag. Users can write numeric values or string values to a tag, though the tag must be the correct type to support the entered data. Ex: For a text entry, the tag must be a ‘STRING’ type.

...

Run Script

...

Runs the selected script in a new thread. This will not interrupt the operation of currently running scripts.

...

Import Script

...

Runs the selected script. This will interrupt any currently running scripts until the imported scripts has completed.

...

Enable/Disable Schedule

...

Enables or disables the selected schedule.

...

Save Alarm CSV

...

Saves the Alarm Summary to a CSV. Users can select to save the file locally on the Xpanel, to a USB, or to a SD card. Users can also delegate a specific alarm label to be saved in the CSV, all other labels will not be included in the CSV.

...

Save Data Log CSV

...

Saves the selected Data Log.

...

Start/Stop Data Log

...

Starts or stops the Data Loggers actions depending on the configuration of the action.

...

Add Row to Data Log

...

Adds a new entry to the Data Log.

...

Open Login Window

...

Opens the login window for the user.

...

Press Key

...

Canvas에는 또한 사용자가 스크립팅을 사용하지 않고도 완료할 작업 목록을 만들 수 있는 사용하기 쉬운 기능이 포함되어 있습니다. 이러한 작업 목록은 태그 값의 변경, 페이지 열기 및 닫기, 스크립트와 유사한 기타 작업에 연결될 수 있습니다. [동작 명령 편집기]는 [스크립트 편집기] 창에서 아이콘을 누르고 '새 동작 명령 만들기'를 선택하여 액세스할 수 있습니다.

...

[동작 명령 편집기]에서 사용자는 동작 목록에서 선택하고 실행할 일련의 동작을 생성할 수 있습니다.

동작

설명

Open Page

선택한 페이지를 엽니다. 사용자는 이름이나 고유 색인으로 페이지를 선택할 수 있습니다.

Close Page

선택한 페이지를 닫습니다. 사용자는 이름이나 고유 색인으로 페이지를 선택할 수 있습니다.

Set Tag Value

선택한 태그를 지정된 값으로 설정합니다. 사용자는 상수 값을 선택하여 태그에 쓰거나 선택한 태그에 다른 태그 값을 쓸 수 있습니다.

Toggle Tag Value

선택한 태그의 값을 1과 0 사이에서 토글동작합니다. 이 작업에는 'BOOL' 유형 태그만 사용할 수 있습니다.

Enter Tag Value

사용자가 선택한 태그에 쓸 값을 입력할 수 있는 팝업 키보드를 엽니다. 사용자는 숫자 값이나 문자열 값을 태그에 쓸 수 있지만 태그는 입력된 데이터를 지원하는 올바른 유형이어야 합니다. 예: 텍스트 항목의 경우 태그는 'STRING' 유형이어야 합니다.

Run Script

새 쓰레드에서 선택한 스크립트를 실행합니다. 이것은 현재 실행 중인 스크립트의 작업을 중단하지 않습니다.

Import Script

선택한 스크립트를 실행합니다. 이렇게 하면 가져온 스크립트가 완료될 때까지 현재 실행 중인 스크립트가 중단됩니다.

Enable/Disable Schedule

선택한 일정을 활성화하거나 비활성화 합니다.

Save Alarm CSV

알람 요약을 CSV로 저장합니다. 사용자는 파일을 Xpanel, USB 또는 SD 카드에 로컬로 저장하도록 선택할 수 있습니다. 사용자는 CSV에 저장할 특정 알람 레이블을 위임할 수도 있습니다. 다른 모든 레이블은 CSV에 포함되지 않습니다.

Save Data Log CSV

선택한 데이터 로그를 저장합니다.

Start/Stop Data Log

작업 구성에 따라 데이터 로거 작업을 시작하거나 중지합니다.

Add Row to Data Log

데이터 로그에 새 항목을 추가합니다.

Open Login Window

사용자의 로그인 창을 엽니다.

Press Key

사용자가 지정한 키 입력을 입력합니다. 기능 코드는 특정 키 입력을 입력하는 데 사용되며 해당 키 코드는 다음 링크에서 찾을 수 있습니다. Qt Namespace | Qt Core 5.15.10

Send Screen Notification

Opens a notification window on the screen화면에 알림 창을 엽니다.

Exit Project

Exits the project and canvas runtime프로젝트 및 캔버스 런타임을 종료합니다.

Open Config Menu

Opens the Xpanel Settings menuXpanel 설정 메뉴를 엽니다.

Set Translation Language

Sets the language according to the one specified in the Action ListAction List에 지정된 언어에 따라 언어를 설정합니다.