| Command | Action | | --------------- | ------------------------------------ | | Radiacode Options | Opens the RadiaCode settings dialog. | | Screen Options... | Opens the Screen Options dialog with the Fonts, Colors, Key Assignments, Control Bar, and Other tabs. | ## RadiaCode Options Dialog Various settings related to the instrument, measurement modes, schedules, etc. ## ”Device” tab Device settings. These settings are also available using the device menu itself. When the device is connected to the program, the settings are read from the device, when you press the "OK" button in the settings dialog, all settings are written to the device. | Dialog Item | Description | | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | * Indication * | | | Enable Sounds | Allow the device to emit sounds. Different sounds can be controlled using individual options, see below. Disabling the Enable Sounds option disables all device sounds, regardless of individual option settings. | | Turn on vibration | The instrument will vibrate during alarms as well as certain events. Vibration can be turned on or off individually for each alarm and event. Disabling the Enable Vibration option disables device vibration, regardless of individual option settings. | | Turn on LEDs | Allow the device to light using the built-in LEDs. | | * Alarm thresholds * | | | Alarm thresholds | Dose and dose rate values above which alarms occur. The threshold values are specified in the units selected in the Units of Measure group (X-rays/Sievers) in the Program Settings tab. You can enable beeping and vibration for each alarm. | | Alarm Mode | Select Alarm Sound Mode: ·** Once** - Alarm sounds once;· *** Continuous** - Alarm sounds continuously. | | * Signals * | | | Pressing the button | The device will confirm with sounds and/or vibration the pressing of buttons on its body. | | When registering particles | Produce click sounds. The frequency of clicks indicates the approximate level of radiation recorded. | | When connecting/disconnecting with the application | Sound when connecting the device to the RadiaCode application on a smartphone via Bluetooth and disconnecting from it. | | On/Off | Sound when it is powered on or off. | | * Display Backlight * | | | Disabled | The device display backlight is never turned on. | | Turns on at each press of the button | When you press any button on the device body, the backlight turns on for the time specified in the "Shutdown" field. | | Turns on depending on illumination | When you press any button on the device body, the backlight turns on for the time specified in the "Shutdown" field, if the device believes that it is in low illumination mode. | | Turn off | The time after which the device screen will be turned off if no key is pressed on the device body. | | Brightness | Brightness level of the device display, from 0 to 9. | | * Other * | | | Rotation of the display | -· Automatic: the device itself selects the display orientation using the built-in accelerometer. -· Only normal orientation: Orient the device display to control buttons with the right hand. -· Only inverted orientation: Orient the device display to control buttons with the left hand. | | Instrument Language | You can select the instrument interface language. | ## Program Settings tab | Dialog Item | Description | | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Unit of measurement | Select the units in which information about the recorded radiation level (X-rays/Sievers) is displayed in the program. | | Database Integrity Test at Startup | Test the database at startup. Testing can take some time. | | Log File | Write device events to a text file on your computer disk approximately as they appear in the log window. | | Log File Mode | Choose whether to recreate the log file at startup or append new entries to the end of the log file if it already exists. | | Log File Name | Specify the full path to the log file here. | | How many days to keep database backups | If more than a day has passed since the last launch of RadiaCode, then at startup the program creates a backup copy of the database file so that you can manually restore the file if it fails. Use this field to specify how many backups to keep. | ## Screen Options Dialog In the tabs of this dialog, you can customize the appearance of the RadiaCode windows and other interface elements, as well as set hotkeys for quick access to the commands of the main menu and RadiaCode windows. [[#Fonts tab]] [[#Colors Tab]] [[#Key Assignment Tab]] [[#Control Ruler Tab]] [[#Miscellaneous Tab]] ## Fonts tab The Fonts tab of the Screen Options dialog controls the fonts in the RadiaCode windows. The Windows list lists all window types. To set options for a window type, select it in the list. The new settings apply to all windows of the selected type, including those that are already open. | Dialog Item | Description | | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | The window has a title | Includes a title bar for windows of this type. When the flag is removed, the windows are smaller due to the missing header. Also, see the notes below. | | Window control bar | Controls the position of the toolbar in a window of this type. | | Grid | Enables the display of vertical and horizontal grids in the window and allows column widths to be changed (when vertical grids are enabled). | | Line Spacing | Specifies the line spacing to be added to the standard line spacing. The new value can be printed or selected from a list of recently used values. | | Select Font | Opens the Font dialog. The selected font will be valid for all windows of this type. | | This font is for all windows | Uses the font set for windows of this type to all windows in RadiaCode. | >[!note] Notes >1. To move a window that does not have a title bar, place the mouse cursor over a portion of the window toolbar that does not have buttons, and then act as if the toolbar is a title bar. Also, you can access the window management functions through its system menu by pressing the Alt + < gray minus > key combination. > 2. In the local menu of each window there is an item Properties. Window Title and Sub-Menu Control Bar Properties toggle the title bar and toolbar for that particular window. ## Colors tab The Colors tab of the Screen options dialog controls the color in the RadiaCode program windows. | Dialog Item | Description | | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Color scheme | Specifies the name of the color scheme. You can print it or select a recently used one from the list with a button. The** Save** button saves the used scheme to disk. The** Remove** button removes it. | | Colors | List color group names. Each group consists of several colors. | | Windows Standard Color | When the flag is set, the selected color is borrowed from Windows. If you subsequently change the colors, Windows through the control panel, this color will change accordingly. | | Inverted background/text color | When the flag is set, RadiaCode inverts the selected window colors (for text and background). For example, if in the Variables window the background color is white and the text color is black, then for a line with the selected variable there will be a highlight from the black background and white text. | | Select... button | Opens the** Color** dialog when the** Windows Standard Color** and** Inverted Background/Text Color** flags are cleared for windows of this type. The** Color** dialog also opens when you double-click a color in the list. | | Default button | Sets the selected color in the list to the default. If you select a color group, such as Database Window, instead of a color in the list, all window colors are set to their default values. | | Set All button | Specifies the use of this color in all RadiaCode windows. This feature is convenient for text and background colors. For example, if you select blue background and yellow text for the** Editor window and then click** Set for all**, these colors will be set for the background and text in all windows. | | Font | You can specify Bold and Italic font attributes for some colors. | ## Key Assignment Tab ** "Key Assignment" tab** For some colors, you can set additional font attributes: "Bold" and "Italic." Allows you to assign key combinations to invoke any command in RadiaCode, including local window menus. The** Menu Commands column** displays a tree-like system of commands. Columns** Clave. 1 (Clave. 2)** contain the corresponding key combinations assigned to the commands. All actions in this tab are related to the selected command. | Dialog Item | Description | | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Set Clave. 1 Set the clave. 2 | Opens the** Set Shortcut dialog box.** In the dialog box, press the shortcut key that you want to assign to this command, or click Cancel. Also, this dialog can be opened by double-clicking in the "cell" where the line of this command and the** Klav column intersect. 1** or** Clave. ав. 2* | Remove Clave. 1 Remove the flask. 2 | Cancels the assigned shortcut for this command. Also, to cancel the combination, you can right-click in the "cell" where the row of this command and the** Clave column intersect. 1** or** Clave. лав. 2.** ## Control Ruler tab The Control Bar tab of the Screen Options dialog includes the RadiaCode window toolbars and their buttons. | Dialog Item | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Groups | Lists all RadiaCode toolbars. To enable/disable a toolbar, select its check box in the list. | | Buttons/Commands | List of buttons for the toolbar selected in the Groups list.To show/remove a toolbar button, select its check box in the list. | | Flat Window Control Bars | Switches the appearance of buttons between flat and quasi-3D for the specialized window toolbar in RadiaCode. The RadiaCode window toolbar buttons are always flat. | | Control bar settings are the same for all screen files | Make control bar settings "global." | ## Miscellaneous Tab ** "Other" tab** dialog** "Screen options"** controls various window functions and message parameters in RadiaCode. It is designed to work comfortably with RadiaCode. | Dialog Item | Description | | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Main Window Status Bar | Controls the presence and location of the RadiaCode window status bar. | | Highlight the title of the active page in windows | Enables highlighting of the current bookmark (MS Windows style) in bookmarked windows. | | Double-click the check boxes and radio buttons in dialogs = = single-click + OK button | Sets the double-click function to be equivalent to a single click on the corresponding dialog item and clicking OK on the dialog. | | Show keyboard shortcuts in toolbars | Toggles the display of keyboard shortcuts in the tooltip for toolbar buttons. | | Don't show message dialogs when the console window is open | Directs all messages to the Message Console window when it is open. If closed, the message will be sent in a separate window. | | Always Show Message Dialogs | Displays all messages in separate boxes. The Message Console window also displays these messages. | | The cursor is placed on the OK button | If the flag is set, then in each open message window the cursor is automatically placed on the** OK** button of this window. This function can be disabled if you prefer to press the** Enter key,** and not click** OK** with the mouse. | | Audible notification for error messages | Enables audible notification for error messages. Information messages are always delivered without sound. | | Write messages to log file | Specifies the name of the log file. All messages are recorded in this file. The recording method is selected by the radio button, which has the following positions: | | Start log file every start | Specifies to create a new log file for each session and delete the old log file if it exists. | | Write messages to end of file | Specifies to append messages to an existing file. This will increase the file size indefinitely. | ## Editor Options Dialog [[#Editor Options Tab]] [[#Key Assignment Tab]] [[#Dialog Edit Command]] ## Editor Options tab The Editor Options tab of the Editor Options dialog sets parameters common to open editor windows (Editor window). | Dialog Item | Description | | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Backspace merges leading spaces | Toggles Backspace Unindent mode. See Note 2. | | Leave Trailing Spaces | A flag that you set specifies to keep trailing spaces when copying text to the clipboard or saving to disk. If the flag is cleared, these spaces will be removed. | | Vertical Blocks | Enables vertical block mode for block actions. | | Persistent Blocks | Enables Persistent Blocks mode for block actions. | | Create .BAK file | The flag indicates that a * .BAK file should be created each time the file is saved in the Editor window. | | Horizontal Cursor | Set flag to display the cursor as a horizontal line. | | CR/LF at end of file | Set flag to add an empty line to the end of the file when saving the file to disk, if not. | | Highlight Syntax | The flag you set enables syntax highlighting for language constructs. | | Highlight Multiline Comments | The flag that you set enables highlighting of multiline comments. By default, the window highlights only single-line comments. | | Full Path in Window Title | Set flag to display the full path of an open file in the Editor title bar. | | Clear clipboard before copying | If the flag is cleared, copying to the clipboard does not delete its previous contents. | | Convert keyboard input to OEM | When the flag is set, the Editor window converts the characters you enter in the window from MS Windows encoding to the OEM (national) encoding corresponding to your local version of Windows. See Note 1. | | Select paired "(" and "{" when typing ")" and "}" | When the flag is set, after typing the ")" or "}" character, the Editor will automatically find and highlight the text from the entered parenthesis to the corresponding opening parenthesis. | | Auto-save files every... min | Sets the time interval for automatic file saving. Enter a value in minutes in the box on the right. | | Tab Size | Sets the tab width for displaying text. Valid values range from 1 to 32. If there are ASCII tabs in the open file, they will be replaced with spaces according to the tab width you specify. | | Rollback Counter | Sets the maximum number of return steps available (512 by default). If this is not enough, you can specify up to 10,000 steps. However, larger values require more | | | | | Automatic Indent | Toggles automatic indent options for a new line created by pressing Enter. | | If Another Application Has Modified a File | Specifies the behavior that occurs when another application changes a file that is open in the Editor. | | Tab Size | Sets the tab size in spaces. | | Rollback Count | Specifies the size of the rollback stack used in the Rollback Editor operation. | | Highlight Russian letters | The set flag includes highlighting Russian letters that are not inside comments or enclosed in quotation marks. | Note: 1. Flag **Convert keyboard input to OEM** should only be set when you intend to change the text of an OEM encoded file in **Editor**. If you only need to view such a file, then set the Terminal font for the **Editor** window in the **Fonts** tab of the Local Menu dialog. To do this, select the Editor item in the Windows list and click the **Select font** button. 2. Backspace Unindent mode sets the result of pressing the **Backspace** key: | | Backspace Unindent enabled | Backspace Unindent disabled | | ---------------------- | --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | |** Insert mode** | All spaces to the left of the cursor are removed. | Removes one space to the left of the cursor. The cursor and the rest of the line to the right of the cursor are moved one position to the left. | |** Overwrite mode** | Moves the cursor to the first position in the line. The text in the line remains in its same place. | Only the cursor moves one position to the left. The text in the line remains in its original place. | ## Tab Key Assignment Using the tab **Assign keys** dialog **Editor options** you can work with the list of available editor commands: add new commands to the editor, delete them, assign and reassign key combinations for new and built-in commands. In the **Command Description** window, the left column of the list contains command descriptions. The second column indicates the type of command (the word Command means the built-in RadiaCode command; Script "XXX" means an added command specified by the user). The two columns on the right show the two keyboard shortcuts for this command, if any. Both combinations are equivalent to each other. | Dialog Item | Description | | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Add | Opens the** Edit Command** dialog to add a new command to the list and set its parameters | | Remove | Removes the selected user command from the list. Built-in commands cannot be removed. | | Edit | Opens the** Edit Command dialog box to adjust the command settings. For built-in commands, you can only reassign keyboard shortcuts (the** Command Description** and** Script Name** fields will not be available). | | Edit Script File | Opens the selected command script source file in the** Script Text** window | ---- **Create a new command To create a new command, you need to make a script file for it. In fact, a script will be added to the editor, not a command. This means that a user-defined command is able to perform a much more complex and multi-step action than a regular editor command. Moreover, you can adapt this action to your specific situation or specific work task. Your scripts can take advantage of the functionality of the scripting language itself, its rich set of built-in functions and variables, text editing functions and existing scripts. The script source file is an ASCII file. To execute the script, the editor compiles the script source file. Please note that before you can use the script that you just edited, you must first save the file of its source text to disk in order to recompile it using RadiaCode. Script source files for new commands should only be stored in the KEYCMD folder located in the RadiaCode root folder. The RadiaCode package contains several sample script files. For more information on developing scripts, see the chapter Script files and automation of working with the emulator. ## Dialog Edit Command This ** Edit Command ** dialog box is designed to work with new or existing command settings. | Dialog Item | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Command Description | You can enter a command description here (not for built-in commands). The text of this field appears in the command list. | | Script Name | The name of the script file that executes this command | | Set Keyboard Shortcut # 1 Set Keyboard Shortcut # 2 | Opens a specialized dialog that accepts the keyboard shortcut you press in it and assigns/removes this shortcut to this command. The buttons correspond to the first and second key combinations. | | Remove # 1 | Removes # 1. | | Erase # 2 | Deletes # 2. | Command script source files should only be stored in the KEYCMD subdirectory of the RadiaCode system directory. The file name must be specified without a path or extension. >[!note] >1. You cannot specify keyboard shortcuts that are reserved in Windows (for example, ** Alt + ** - or ** Alt + Tab) **. > 2. It is not recommended to specify combinations already used in the editor and the RadiaCode program, because in this case you will have fewer ways to use these commands. For example, combinations that open the application menu, for example, ** Alt + F, Shift + F1, Ctrl + F7 **, or keyboard shortcuts from the local menu of the editor window. > 3. You can use more than one control key in combination. For example, you can use not only ** Ctrl + F **, but also ** Ctrl + Shift + F ** or ** Ctrl + Alt + Shift + F. ** > 4. For some built-in commands, keyboard shortcuts cannot be reassigned (for example, cursor keys).