Main Window (Scripting)

<< Click to Display Table of Contents >>

Navigation:  User Interface >

Main Window (Scripting)

The main window of Docklight Scripting is divided into five sections:

 

main_screen_areas_scripting

 

1. Toolbar and Status

You can select all main Docklight functions from the Toolbar. The status line below shows additional information about the communication status and the current settings.

 

2. Send Sequences

Define, edit and manage your Send Sequences here. Use the arrow symbol or the Space key to send out the selected sequence. Double click on the blank field at the end of a list to create a new sequence. A context menu (right mouse button) is available to cut, copy or paste entire Send Sequences to/from the Clipboard. See Editing and Managing Sequences and Dialog: Edit Send Sequence for more information.

 

3. Receive Sequences

Define, edit and manage your Receive Sequences here. Double click on the blank field at the end of a list to create a new sequence. The Receive Sequence list supports the same reordering and clipboard operations as the Send Sequence list. You can also copy a Send Sequence to the clipboard and paste it into the Receive Sequence list. See Editing and Managing Sequences and Dialog: Edit Receive Sequence for more information.

 

You can reorder the sequence lists using drag&drop: First, allow reordering the list by clicking on the small lock lock icon in the top left corner. When unlock unlocked, the list can be changed by dragging a sequence to a new position with the left mouse button pressed.

 

By clicking the |< mark you can minimize the Send/Receive Sequences area.

 

4. Communication Window

Displays the outgoing and incoming communication of the serial data connection. Various display options are available for the communication data, including ASCII / HEX / Decimal / Binary display, time stamps, and highlighting (see Options). If serial communication is stopped, all data from the communications window may be copied to the clipboard or printed. You may also search for specific sequences using the Find Sequence function. See How Serial Data is Processed and Displayed for more information.

 

5.

5a. Project and Sequence Documentation

Type in additional comments concerning your project, or a specific Send Sequence / Receive Sequence. Docklight presents sequence-specific documentation when you choose a Send Sequence or Receive Sequence from the list (2. and 3.). Docklight switches to the main project documentation when you click on the empty bottom line of the sequence list, or when you click inside the Communication Window (4.).

 

To avoid accidental editing, the Documentation Area is locked by default and you need to enable editing by clicking on the small lock lock icon above it. When unlock unlocked, you can edit/copy/paste/delete its contents freely.

 

5b. Script

Edit your Docklight script code here. A context menu (right mouse button) is available to cut, copy, paste, delete, or find/replace code. For advanced editing features, support for external editors is available. For more information about creating Docklight scripts, see the Docklight Scripting Reference.

 

By clicking the v mark on the right side you can minimize the documentation/script area.