Configure menu
| Command | Action |
|---|---|
Options for RadiaCode | Opens the RadiaCode "Configuration" dialog box. |
Environment... | Opens the “Environment” dialog box with the following tabs: “Fonts”, “Colors”, “Key Assignment”, “Control Bar”, and “Miscellaneous”. |
“RadiaCode options” dialog box
Various settings pertaining to the device, measurement modes, schedules, and more.
"Device" tab
Device settings. These settings can also be accessed from the device's menu. When you connect the device to the program, the settings are retrieved from the device. When you click “OK” in the settings dialog box, all settings are saved to the device.
Indication
| Dialog Item | Description |
|---|---|
Enable sounds | Allow the device to produce sounds. Different sounds can be controlled by individual options, as detailed below. Disabling the 'Enable sounds' option will mute all device sounds, regardless of the individual option settings. |
Enable vibration | The device will vibrate for alarms and certain events. Vibration can be enabled or disabled individually for each alarm and event. Disabling the “Enable vibration” option will turn off device vibration regardless of the individual option settings. |
Enable light indication | Enable the device to show lights using the LEDs integrated into the enclosure. |
Alarm thresholds
| Dialog Item | Description |
|---|---|
Alarm thresholds | Dose and dose rate values that trigger alarms. Threshold values are specified in the units selected in the “Units of measure” group (Roentgens/Sieverts) in the “Program settings” tab. For each alarm, you can enable sound and vibration on the device. |
Alarm mode | Select the alarm sound mode:
|
Signals
| Dialog Item | Description |
|---|---|
Pressing the button | The device will emit sounds and/or vibrations when the buttons on its body are pressed. |
When registering particles | Emit click sounds. The frequency of the clicks indicates the approximate radiation level detected. |
When connecting/disconnecting with the application | Emit sounds when the device connects to or disconnects from the RadiaCode application on your smartphone via Bluetooth. |
When switching ON/OFF | Sound output when turning ON/OFF. |
Display backlight
| Dialog Item | Description |
|---|---|
Disabled | The device display backlight is never turned on. |
Activated each time the button is pressed | Pressing any button on the device body activates the backlight for the duration specified in the “Disable” field. |
Enabled based on the illumination | Pressing any button on the device body activates the backlight for the duration specified in the “Disable” field if the device detects it is in low light mode. |
Disabling | The duration after which the device screen will turn off if no key is pressed. |
Brightness | Brightness level of the device display backlight ranges from 0 to 9. |
Miscellaneous
| Dialog Item | Description |
|---|---|
Display rotation |
|
Device language | You can choose the language for the device interface. |
"Program Settings" Tab
| Dialog item | Description |
|---|---|
Unit of measure | Select the units in which the registered radiation level (Roentgens/Sieverts) is displayed in the program. |
Database integrity test on startup | Conduct a database test when the program starts. This test may take some time. |
Create log file | Log device events to a text file on your computer disk in a format similar to how they appear in the log window. |
Log file mode | Here, you can choose whether to create a new log file when the program starts or to append new entries to the end of the existing log file. |
Log file name | Here, you can specify the complete path to the log file. |
How many days to keep backups of the base | If more than 24 hours have passed since the last startup of RadiaCode, the program creates a backup database file, allowing for manual restoration in case of failure. In this field, you can specify how many backups to retain. |
“Environment” dialog box
Within the tabs of this dialog box, you can adjust the appearance of RadiaCode windows and other interface elements, as well as define “hotkeys” for quick access to main menu commands and RadiaCode windows.
“Fonts” tab
The “Fonts” tab in the “Environment” dialog box controls the fonts in the RadiaCode program windows.
The “Window” list includes all types of windows. To configure parameters for a specific window type, select it from the list. The new settings will apply to all windows of the selected type, including those already open.
| Dialog item | Description |
|---|---|
The window has a title | Includes a title bar for windows of this type. When the checkbox is unchecked, the windows become smaller due to the absence of a title. Also, see the notes below. |
Window control bar | Controls the position of the toolbar in this type of window. |
Grid | Enables the display of a vertical and horizontal grid in the window and allows column widths to be adjusted (if the vertical grid is enabled). |
Line spacing | Adjusts the line spacing by adding to the default line spacing. The new value can be printed or selected from a list of recently used values. |
Choose font | Opens the “Font” dialog box. The selected font will apply to all windows of that type. |
This font is for all Windows. | Uses the font designated for windows of this type for all windows in the RadiaCode program. |
- To move a window without a title bar, position the mouse cursor on the part of the window's toolbar that lacks buttons, and treat the toolbar as if it were a title bar. Additionally, you can access the window control functions through its system menu by pressing the Alt+"gray minus" key combination.
- Each window has a “Properties” item in the local menu. The “Window title” and “Control bar” items in the “Properties” submenu toggle the title bar and toolbar for that specific window.
“Colors” tab
“Colors” tab of the “Environment” dialog box controls the color in the program windows RadiaCode.
| Dialog Item | Description |
|---|---|
Color scheme | Specifies the name of the color scheme. It can be printed or a recently used one can be selected from the list using the button. The “Add file” button saves the current scheme to the disk. The “Add file” button deletes it. |
Colors | List of color group names. Each group contains several colors. |
Inherit Windows color | When the checkbox is checked, the selected color is taken from Windows. If you later change the Windows colors through the Control Panel, this color will change accordingly. |
Use inverted text/background colors | When the checkbox is checked, RadiaCode inverts the selected window colors for text and background. For example, if the background color in the “Variables” window is white and the text color is black, the line with the selected variable will be highlighted with a black background and white text. |
"Select..." button | Opens the “Color” if the checkboxes 'Inherit Windows color' and 'Use inverted text/background color' are unchecked for windows of this type. “Color” dialog box also opens if you double-click on a color in the list Colors. |
“Default color(s)” button | Sets the selected color in the list as the default color. If a group of colors, such as 'Database window,' is selected, all window colors will be reset to their default values. |
“Set for all” button | Specifies the use of this color in all windows RadiaCode. This feature is useful for text and background colors. For example, if you select blue background and yellow text for the “Editor” window and then click the “Set for all” button, these colors will be set for the background and text in all windows. |
Font | For certain colors, you can apply additional font attributes: “Bold” and “Italic”. |
"Key Mappings" Tab
The “Key mappings” tab of the “Environment” dialog box allows you to assign keyboard shortcuts to any command in RadiaCode, including local window menus. The “Menu commands” column displays a hierarchical command system. The Key 1 (Key 2) columns contain the corresponding key combinations assigned to the commands. All actions in this tab pertain to the selected command.
| Dialog Item | Description |
|---|---|
Set Key 1 Set key 2 | Opens the Set key combination. In the dialog box, press the key combination you wish to assign to the command, or press Cancel. Additionally, you can open this dialog box by double-clicking in the “cell” where the row of this command intersects with the column Key 1, or Key 2. |
Delete key 1 Delete key 2 | Cancels the assigned keyboard shortcut for a specific command. Additionally, to cancel the combination, you can right-click in the “cell” where the row of this command intersects with the column Key 1, or Key 2. |
“Toolbar” tab
The "Colors" tab in the "Environment" dialog box includes the window toolbar for RadiaCode and its buttons.
| Dialog Item | Description |
|---|---|
Groups | This contains a list of all RadiaCode program toolbars. To enable or disable a toolbar, check its checkbox in the list. |
Buttons / Commands | List of buttons for the toolbar highlighted in the Groups list. To show or remove a panel button, check its checkbox in the list. |
Flat window control bars | Switches the appearance of the buttons between flat and quasi-3D for the toolbar of specialized windows in the RadiaCode program. The toolbar buttons in the RadiaCode window are always flat. |
The control bar settings are consistent across all screen files. | Make the control bar settings 'global.' |
“Misc” tab
The “Misc” tab in the “Environment” dialog box manages various window functions and message parameters in RadiaCode. It is designed to facilitate comfortable use of RadiaCode.
| Dialog Item | Description |
|---|---|
Status bar of the home window | Manages the presence and position of the status bar in the RadiaCode program window. |
Highlight the title of the active page in the windows | Enables highlighting of the current tab (similar to MS Windows style) in windows with tabs. |
Double-click on checkboxes and toggle switches in dialog boxes is equivalent to a single-click plus the “Ok” button. | Specifies the double-click function, which is equivalent to single-clicking the corresponding dialog item and pressing the “OK” button in this dialog box. |
Display “hotkeys” in popup descriptions | Enables or disables the display of shortcut key combinations in the toolbar button tooltip. |
Do not show message dialogs if a console window is open | Sends all messages to the "Message console" window if it is open. If it is closed, the message will be sent in a separate box. |
Always show message dialogs | Displays all messages in separate boxes. The 'Message console' window also shows these messages. |
The cursor is positioned on the 'OK' button. | If the checkbox is selected, the cursor will automatically be positioned on the “OK” button in every open message window. This function can be disabled if you prefer to press the "Enter" button instead of clicking the "OK" button with the mouse. |
Audio alert for error messages | Enables sound for error messages. Information messages are always delivered silently. |
Log messages to the file | Sets the log file name. All messages are recorded in this file. The recording method is selected by a switch box with the following positions. |
Restart the log file from the beginning each time it starts | Specifies creating a new file for each session and deleting the previous file if it exists. |
Append messages to the end of the file | Indicates whether to append messages to the end of an existing file. This will cause the file size to increase indefinitely. |
"Editor Options" Dialog Box
“Editor options” tab
The dialog box Editor options tab in the Editor options configures the settings common to all open windows in the Editor (Editor window).
| Dialog Item | Description |
|---|---|
Backspace merges leading spaces | Switches to Backspace Unindent mode. |
Leave end spaces | When this checkbox is selected, it determines whether spaces at the end of lines should be retained when copying the text to the buffer or saving it to disk. If the checkbox is not selected, these spaces will be removed. |
Vertical sections | Enables vertical block mode for block actions. |
Constant blocks | Enables Persistent Blocks mode for block actions. |
Create .BAK file | This checkbox indicates that a *.BAK file will be created each time you save a file in the “Editor”. |
Horizontal cursor | Checking the checkbox enables the display of the cursor as a horizontal line. |
CR/LF at the end of the file | Checking the checkbox allows a blank line to be added to the end of the file when saving it to disk, if such a line does not already exist. |
Syntax highlighting in color | Checking the checkbox enables syntax highlighting for language constructs. |
Highlight multiline comments | Checking this box enables the highlighting of multiline comments. By default, the window only highlights single-line comments. |
Full path in the window title | Checking this box enables the display of the full path of the opened file in the “Editor”. |
Clear clipboard before copying | When unchecked, copying to the clipboard does not erase its previous contents. |
Convert keyboard input to OEM | When this checkbox is selected, the “Editor” window converts the characters you enter from MS Windows encoding to OEM (national) encoding that matches your national version of Windows. |
Select paired "(" and "{" when typing ")" and "}" | When this checkbox is checked, after entering the symbol “)” or “}”, the Editor automatically finds and highlights the text fragment from the entered bracket to the corresponding opening bracket. |
Auto-save files every... min | Sets the time interval for automatically saving the file. Enter the value in minutes in the field on the right. |
Tab size | Sets the tab width for displaying text. Valid values range from 1 to 32. If there are ASCII tab characters in the open file, they will be replaced by spaces according to the specified tab width. |
Return counter | Sets the maximum number of available return steps (512 by default). If this is insufficient, you can increase the number of steps up to 10,000. However, larger values require more memory for the editor. |
Auto indent | Toggles the automatic indentation options for a new line created by pressing "Enter". |
If another application has modified the file | Defines the behavior when another application modifies the file opened in the “Editor” window. |
Tab size | Sets the tab size in spaces. |
Return counter | Sets the size of the return stack used in the "Return" operation of the Editor. |
Highlight letters with color | Checking the checkbox allows the selection of Russian letters that are not within comments or enclosed in quotation marks. |
- The checkbox Convert keyboard input to OEM should be checked only if you intend to edit the file's text in the Editor using OEM encoding. If you only wish to view such a file, set the Terminal font for the “Editor” window in the “Fonts” tab of the “Environment”. To do this, select the “Editor” item in the “Window” list and press “Select font”.
- Backspace Unindent mode determines the outcome when you press the Backspace key:
| Modes | Backspace Unindent is enabled | Backspace Unindent disabled |
|---|---|---|
Insert mode | All spaces to the left of the cursor are deleted. | 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 | The cursor moves to the first position in the line. The text in the line stays where it is. | Only shifts the cursor one position to the left. The text in the line stays where it is. |
“Key mappings” tab
With the “Key mappings” tab of the “Editor options” dialog box it is possible to manipulate the list of available editor commands: add new commands to the editor, delete them, assign and reassign keyboard shortcuts for new and built-in commands.
In the “Command description” window, the left column of the list contains command descriptions. The second column shows the command type (the word “Command” means a built-in command of RadiaCode; Script 'XXX'. means the added custom command). The two columns to the right show the two key combinations for calling this command, if any. Both combinations are equal to each other.
| Dialog Item | Description |
|---|---|
Add | Opens “Edit command” dialog box to add a new command to the list and set its parameters. |
Delete | Deletes the highlighted custom command from the list. Built-in commands cannot be deleted. |
Edit | Opens the “Edit command” dialog box to adjust command parameters. For built-in commands, you can only reassign key combinations (Command description and Script name fields will not be available). |
Edit script file | Opens in the “Script text” window the source text file of the selected command. |
Create a new command
To create a new command, you have to make a script file for it. In fact, a script, not a command, will be added to the editor. This means that a custom command is capable of much more complex and multistep action than a normal editor command. Moreover, you can tailor this action to your specific situation or a 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 text file is an ASCII file. To execute the script, the editor compiles the script source file. Note that before you can use the script you have just edited, you shall first make sure to save the source file on the disk in order to recompile it with RadiaCode'a.
Script source files for new commands shall be stored only in the KEYCMD folder located in the root folder RadiaCode. Program package RadiaCode contains several files with example scripts. For more information about scripting, see the chapter “Script files and automation of the emulator”.
“Edit command” dialog box
This “Edit command” dialog box is designed to work with the parameters of a new or existing command.
| Dialog Item | Description |
|---|---|
Command description | You can enter a command description here (not for built-in commands). The text of this field is displayed in the command list. |
Script name | Name of the script file that executes this command. |
Set key combination #1 Set key combination #2 | Opens a specialized dialog box that senses the key combination you press in it and assigns/unassigns that combination to a given command. The buttons correspond to the first and second key combinations. |
Delete key combination #1 | Deletes key combination #1. |
Delete key combination #2 | Deletes key combination #2. |
Script source files for commands shall only be stored in the KEYCMD subdirectory of the system directory RadiaCode. The file name should be specified without path or extension.
- You cannot specify key combinations reserved in Windows (e.g, Alt+- or Alt+Tab).
- It is not recommended to specify combinations already occupied in the editor and program RadiaCode, because in this case you will have fewer ways to use these commands. For example, the combinations that open the application menu, e.g, Alt+F, Shift+F1, Ctrl+F7, or keyboard shortcuts from the local menu of the editor window.
- You can use more than one control key in combination. For example, it is possible to use not only Ctrl+F, but also Ctrl+Shift+F or Ctrl+Alt+Shift+F.
- For some built-in commands, key combinations cannot be reassigned (e.g. cursor movement keys).
Aktualisiert: 9. Jan. 2026