Graphic item types and behavior in the interface
A graphic item is a control or display object placed on a page or popup window of the visualization interface. Graphic items include labels, buttons, levels, joysticks, and others.
This section covers key information about graphic items, how to create them, and how to configure their behavior by changing the item type and its main parameters.
Item types and purposes
The basic item in the i3 pro interface is a button. All objects you see, including labels, separators, sliders, and keys, are items whose behavior and appearance were originally based on a standard Button with additional characteristics. The item type describes these characteristics:
| Element | Description |
|---|---|
| Button button | A button is a pressable item. It has 2 appearances, conventionally called "not pressed" (false) and "pressed" (true). Pressing a button can send commands. The value to send must be specified in the command; it can be a number or a string. With some settings, the button uses its "pressed" state to indicate that the user's finger has touched it and returns to "not pressed" when released. With other settings, it changes to "pressed" when it receives any nonzero value from equipment. State changes can be disabled to use the button as a Label. |
| Label label | A label is a nonpressable item. It has 1 appearance. A label can be used as a data display, text block, decorative item, icon, and so on. |
| Multistate Button animated button | An animated button differs from a standard button in having multiple appearances. When pressed or when it receives data, it transitions from its "not pressed" (first) state to its "pressed" (last) state, like a standard button, while sequentially displaying all intermediate states. The transition between the endpoint states is frame-by-frame animation. Playback cannot be stopped at an intermediate state (use Multistate Level for this). With certain settings, animation playback can be looped for as long as a nonzero value is supplied to the button, or for the entire time the interface is running. |
| Trigger Button toggle button | A toggle is a pressable item that latches in one of two states, "off" (Value 1) or "on" (Value 2), on each successive press and sends these values to equipment. When it receives data matching Value 2, it switches to the on state. This item type will not work correctly without a feedback channel containing the current state of the controlled value (equipment Feedback must be written to the Trigger Button item's Value so that it can calculate the value correctly). |
| Up/Down Button increment/decrement button | Up/Down is a pressable item with 2 states, "not pressed" and "pressed". Visually, it behaves like a standard Button, but it sends equipment values increased or decreased relative to the current value. On each press, Up/Down takes the variable's current state, changes it by the specified amount, and sends it to equipment. A typical use is adjusting a temperature setpoint by +/- 1 degree or similar tasks involving incremental changes to a variable. This item type will not work correctly without feedback about the current state of the controlled value (equipment Feedback must be written to the Up/Down item's Value so that it can calculate the value correctly). |
| Level level with a slider | A level is an item with a movable slider. It has 2 appearances: "unfilled" and "filled". The slider replaces one state with the other as it moves from one end of the level to the other. Minimum and maximum values define the endpoints between which the slider can move. The slider position determines the value sent to equipment (when the slider is moved with a finger/cursor) or displayed when received from equipment. |
| Multistate Level animated level | An animated level differs from a standard linear level in having multiple appearances. Instead of replacing one another progressively, they switch as the slider moves within Min...Max. A unique state can correspond to each value or to a range (if there are fewer states than values). |
| Circular Level circular level | Like a standard Level, a circular level can send/display values within a specified range, but its value changes as the slider moves around a circle or within a sector. |
| Multistate Circular Level animated circular level | An animated circular level combines the characteristics of circular and animated levels: it has multiple appearances that switch as the slider moves around a circle. |
| Joystick joystick | A joystick is a two-coordinate level that generates ValueX and ValueY as its slider moves within an area bounded by the X- and Y-axis ranges. An important joystick feature is the ability to obtain the current color under the slider. |
| Edit Box input field | An input field is a rectangular window in which text can be entered and edited using the keyboard. |
| TextArea input field | An input field is a graphic item similar to Edit Box, with multiline input support. Text wraps at spaces. |
| Virtual key virtual key | Virtual key is an item for creating a custom keyboard. You can use virtual keys to create a keyboard of any type and configuration in an iRidi project. |
| List dynamically populated list | A list is a scrollable list that can contain many entries based on a single popup template. Each entry's contents are populated by scripts and can be changed while the project is running. Working with a list from scripts is relatively easy, but it does not support moving entries or inserting entries at the beginning or in the middle (all contents must be refreshed). |
| Static List list of popups | A list is a project navigation item that lets you place many popups on one page and move between them using gestures. It looks like a graphic item on a page or popup. Its settings specify the list and order of popups to scroll within the item. A popup included in a list cannot be used independently or in another list (a technical limitation). |
| Advanced List enhanced dynamically populated list | An enhanced list is also controlled by scripts. It works well with a very large number of entries and allows entries to be added at any position, but takes more time to learn initially. |
| Picker picker | A picker lets you scroll through a list of entries and change their number and contents. A picker can only be created using a script; see Picker API. Its main use is setting a date or time. |
| Linear Trend line chart | This is a chart in which points representing variable values are connected by a line. A line chart can display changes in several variables within specified time and value ranges. It obtains values from the iRidi Server database or an external SQL database (an external database requires a script). The i3 pro application cannot store its own database, so charts are available only when using a server or external database. Some line chart parameters can be changed from scripts. |
| Pie Chart pie chart | A pie chart is divided into sectors to illustrate numerical proportions. The arc length of each slice is proportional to the value it represents. The chart is populated from scripts. |
| Bar Chart bar chart | A bar chart compares several values represented by rectangular areas whose heights (lengths) are proportional to the values they represent. The chart is populated from scripts. |
Creating graphic items
Creating a visual project involves drawing graphic items and programming them on pages and popups.
Drawing with the "Draw" tool
How to select the drawing tool:
- the left toolbar contains Select and Draw buttons for switching between selecting items and drawing. Hold down Draw to select the default item type to draw from the list.
- Select and Draw are also available in the context menu opened by right-clicking the iRidi Studio workspace.
- by holding keys or using key combinations:
- Hold L - draw a label in the workspace.
- Hold B - draw a button in the workspace.
- D + Ctrl - press once to switch to drawing.
- Esc - press once to switch to Select mode.
- The full list of Hotkeys is in the iRidi Studio 2019 overview.
When the drawing tool is selected, the cursor in the editor workspace becomes a crosshair. Press the left mouse button and drag across the workspace to draw an item of any size.
Activate Select to finish drawing and return to selecting items in the workspace.

The drawn item has a default appearance, which can be changed in the iRidi Studio settings: Tools > Options > Project style .
General item settings (General)
General settings are available for every item in Studio.
An item's behavior is primarily determined by its type, but its response to presses and incoming data, and its ability to change state, are configured after selecting the type.
The item type and its settings are available on the General tab of the Project window or on the iRidi Studio dynamic toolbar:

| Parameter | Description |
|---|---|
| Name item name | The item name is the object's unique identifier when accessing it through JavaScript or configuring macros in iRidi Studio. |
| X / Y item coordinates | The item's X and Y coordinates are measured in pixels from the top-left corner. |
| Width / Height width / height | The graphic item's width and height in pixels. - When several items are selected, their sizes can be set simultaneously. - Dragging an edge of one selected item resizes all selected items proportionally. |
| Type item type | The item type described above. It determines the number of states and the values the item can send. Select the type whose description best fits your task. |
| Feedback feedback | Determines how the item responds to actions and data. Types: - None - do not change state when touched or when data is received from equipment. - Momentary - change state when touched - for Button, Trigger Button, Up/Down Button, and Multistate Button, the "pressed" state is activated when the item is touched and "not pressed" when the finger is released. The item does not react to incoming data. - other item types either have one state or a more complex structure, so they do not follow the Feedback property. - Channel - change state when data is received from equipment - for Button, Up/Down Button, and Multistate Button, the "pressed" state is activated when a nonzero value is received. - for Trigger Button, states alternate on each press because the toggle changes Value each time. When data is received, it switches to the on state if the value equals its "Value 2". - Invert Channel - change state when data is received from equipment, with inverted state-switching logic - Button, Up/Down Button, and Multistate Button switch "on" when zero is received and remain "off" for any nonzero value. - Trigger Button shows the "on" state for "Value 1" and "off" for "Value 2". - On - the item switches to the on state when the project starts. With "On", Multistate Button animation can play once at application startup (Loop animation: false) or continuously while the application runs (Loop animation: true). - Blink - the item switches to the on state when a nonzero value is received |
| Visible visibility | Item visibility is enabled by default. If disabled, the item is completely hidden when i3 pro starts. Visibility can be controlled while i3 pro is running through the Visible property. |
| Enable allow presses | If presses are disabled, the item is locked: it stops responding to touch and sending commands configured in Programming. It continues to display data received from equipment. The disabled item changes color and is displayed in grayscale |
| Hit press area and behavior | Determines the area and behavior of presses. For buttons: - Bounding Box - the item processes presses anywhere within it, including transparent areas. - Pass Through - the item is "transparent" to presses and does not process them at all. The object on the layer below processes the press. The item only displays values. - Touch on Fill - processes presses on any nontransparent area of the item. Presses on transparent areas are not processed (the object on the layer below processes them). For levels: - Bounding Box (formerly Active) - processes all presses on the level. - Pass Through (formerly Display Only) - the item is "transparent" to presses and does not process them at all. The object on the layer below processes the press. The item only displays values. - Active Centering - processes only individual presses: the slider moves to the pressed point and returns to the middle of the scale when released. - Drag - the slider position changes only when the slider (or any point on the level) is dragged with a finger. Individual presses are not processed; dragging can start anywhere on the level (consider Drag Slider as an alternative to this press type). - Drag Slider - works only with a Custom slider (an image used as the slider). The custom slider moves only when the slider itself is dragged! If the level is on a Static list, this helps prevent accidental activation while scrolling the list. - Drag Centering - the slider position changes only by dragging. Movement always starts from the center of the scale, and the slider returns to the center when released. - Touch on Fill - processes presses on any nontransparent area of the item. Presses on transparent areas are not processed (the object on the layer below processes them). |
| Tags tags | A name used to find a graphic item or group of items in the project through the search field. |
Type-specific item settings
Type-specific settings apply only to a particular item type and give it its distinctive behavior.
Button
Button is a graphic item with 2 states. Each press sends the same commands previously assigned to it. For example, one button can turn a light on by sending "100" to a channel, while another turns it off by sending "0".
Item parameters

| Type | Button |
|---|---|
| Feedback | The button's response to presses and equipment data: - Momentary - the button switches to on when pressed and returns to off when released; it does not display feedback; - Channel - the button switches to on when pressed and returns to off on the next press; it displays feedback; - None - no visual response to presses or incoming feedback, - Invert Channel - the button switches to off when pressed and returns to on on the next press; it displays inverted feedback (false - on, true - off) |
| PasswordID | Select 1 of 4 system passwords that Button will request when pressed. The button will not execute its assigned commands (PROGRAMMING) until the password is entered. Configure it in the project settings |
| Hold Time | Time (ms) for which the button must be held to trigger Hold |
| Repeat time | Period (ms) at which Hold repeats while the button is held |
Linking to equipment
Drag the variable onto the button and specify the following in the variable-linking dialog:

| Parameter | Description |
|---|---|
| Send to command | Number - write a number to the variable. Switch to String to send an ASCII string. |
| Event for Action | An interface event associated with the button. When it occurs, the specified value is written to the variable: • When pressed - send when the button is pressed • When released - send when the button is released • When held - send repeatedly while held • After holding - send after holding ends Several events can be used simultaneously. For example, send 100 when pressed and 0 when released. |
| Value | The value to write to the variable. The button always sends the same value specified in Value. |
| Delay | Delay before sending the value after the event is activated (in milliseconds). |
| Assign feedback channel | Enable this if the button must not only send a value but also change state when data is received from the same variable (feedback). |
Use feedback to display the value on the item as a number:
- enter a template in the item's text field,
- drag Feedback onto the item and select "In Value":
LIST OF TEMPLATES
| Template | Purpose |
|---|---|
| $V | Integer part of the received value |
| $F1 ... $F5 | Floating-point value with a decimal point. 1 to 5 specifies the number of digits after the point |
| $F,1 ... $F,5 | Floating-point value with a decimal comma. 1 to 5 specifies the number of digits after the comma |
| $S | Number of the selected state |
| $X | Value in HEX format |
| $$ | Dollar sign |
| $P | (Levels only) Percentage of the Level's maximum value |
| $H | (Levels only) Maximum value of the Level |
| $A | (Levels only) Current value minus the Level's minimum value |
| $L | (Levels only) Minimum value of the Level |
| $R | (Levels only) Level range: maximum minus minimum |
Enter the template in the graphic item's text field. It can be combined with other text and symbols (comments or units of measurement)
The variable is now linked to the button. All button links can be viewed in Programming.
How it works
- When Button is pressed, it takes the value from the Value field specified in the variable-linking dialog and sends it to equipment. For example, if Value is set to "100", pressing the button turns the dimmable lamp on at 100% brightness.
- While pressed (held), the button takes its second state and returns to the first when released. This behavior is typical of smartphone keyboard keys.
example DOWNLOAD
Label
Label is a graphic item with one state. A label handles commands exactly like a standard button but does not indicate a press or change state when feedback is received. For example, a label can caption an item (button, level, and so on) or a group of items.
Item parameters

| Type | Label |
|---|---|
| PasswordID | Select 1 of 4 system passwords that the Label item will request when pressed. Label will not execute its assigned commands (PROGRAMMING) until the password is entered. The passwords themselves must be specified in the project settings. |
| Hold Time | Time (in ms) for which Label must be held to trigger Hold. |
| Repeat time | Period (in ms) at which Hold triggers for as long as the item is held. |
Linking to equipment
To use a label as a one-state button, drag the variable onto the button and specify the following in the variable-linking dialog:

| Parameter | Description |
|---|---|
| Send to command | Number - write a number to the variable. Switch to String to send an ASCII string. |
| Event for Action | An interface event associated with the button. When it occurs, the specified value is written to the variable: * When pressed - send when the button is pressed * When released - send when the button is released * When held - send repeatedly while held * After holding - send after holding ends |
| Value | The value to write to the variable. The button always sends the same value entered in Value. |
| Delay | Delay before sending the value after the event is activated. If needed, enable the delay and specify its duration in milliseconds. |
| Assign feedback channel | (Create a feedback channel) Select this checkbox if the button must not only write a value to the variable but also display values received from equipment. |
Use feedback to display the value on the item as a number:
- enter a template in the item's text field
- drag Feedback onto the item and select "In Value":
LIST OF TEMPLATES
| Template | Purpose |
|---|---|
| $V | Integer part of the received value |
| $F1 ... $F5 | Floating-point value with a decimal point. 1 to 5 specifies the number of digits after the point |
| $F,1 ... $F,5 | Floating-point value with a decimal comma. 1 to 5 specifies the number of digits after the comma |
| $S | Number of the selected state |
| $X | Value in HEX format |
| $$ | Dollar sign |
| $P | (Levels only) Percentage of the Level's maximum value |
| $H | (Levels only) Maximum value of the Level |
| $A | (Levels only) Current value minus the Level's minimum value |
| $L | (Levels only) Minimum value of the Level |
| $R | (Levels only) Level range: maximum minus minimum |
Enter the template in the graphic item's text field. It can be combined with other text and symbols (comments or units of measurement)
The variable is now linked to the button. All button links can be viewed in Programming.
How it works
- When a label is pressed, it does not change state, but takes the value from the Value field specified in the variable-linking dialog and sends it to equipment.
- The item can display values received from equipment as text. For example, temperature or air humidity values.
Multistate Button (animated button)
Multistate Button is an animated button. It handles commands exactly like a standard button but plays an animation when pressed (or when feedback is received). For example, an animated button can draw attention to an item in a custom interface (glints or a slideshow directly on the button).
Item parameters

| Type | Multistate Button |
|---|---|
| Feedback | The button's response to user presses and equipment data: * None - no visual response to presses or incoming feedback * Momentary - animation when the button is pressed. When released, the animation runs in reverse. Repeat: True - does not stop until the button is released * On - animation when the project starts. Repeat: True - does not stop while the project is running (infinite loop) * Blink / Channel - animation when any nonzero value is received from equipment. Repeat: True - does not stop until zero is received * Invert Channel - animation when zero is received from equipment. Repeat: True - does not stop until a nonzero value is received |
| PasswordID | Select 1 of 4 system passwords that the button will request when pressed. The button will not execute its assigned commands (PROGRAMMING) until the password is entered. The passwords themselves must be specified in the project settings |
| TimeUp / TimeDown | (tenths of a second) animation playback speed from the first frame to the last and back |
| Repeat | Continuous animation repetition while the item is active |
| Hold Time | Time (in ms) for which the button must be held to trigger Hold |
| Repeat time | Period (in ms) at which Hold triggers for as long as the button is held |
| Default Value | Default value assigned to the button when the application starts |
Linking to equipment

| Parameter | Description |
|---|---|
| Send to command | Number - write a number to the variable. Switch to String to send an ASCII string. |
| Event for Action | An interface event associated with the button. When it occurs, the specified value is written to the variable: * When pressed - send when the button is pressed * When released - send when the button is released * When held - send repeatedly while held * After holding - send after holding ends Several events can be used simultaneously. For example, send 100 when pressed and 0 when released |
| Value | The value to write to the variable. The button always sends the same value entered in Value |
| Delay | Delay before sending the value after the event is activated. If needed, enable the delay and specify its duration in milliseconds |
| Assign feedback channel | (Create a feedback channel) Select this checkbox if the button must not only write a value to the variable but also change state when data is received from that same variable. The received value affects the button's state (on/off) and animation playback |
The variable is now linked to the button. All button links can be viewed in Programming.
How it works
- In an infinite loop (Feedback: On, Repeat: True ), the button plays animation by changing states at the specified interval (TimeUp / TimeDown). An example is an animated glint on a company logo.
- If the button is configured to activate while held (Feedback: Momentary, Repeat: True), its states keep changing while it is pressed and stop when released. For example, this button can animate blinds / curtains that open / close while a button is held.
- If the button is configured to activate when nonzero values are received from equipment (Feedback: Blink / Channel, Repeat: True), its states start changing when a value other than "0", for example 1, is received and stop when zero is received. This button can be used to display fan rotation speed.
example DOWNLOAD
Trigger Button (toggle button)
Trigger Button is a toggle button that alternately sends 2 arbitrary values specified in Value 1 and Value 2. The feedback channel (Feedback) automatically puts the toggle in the corresponding state, so a press sends the value opposite to the current value. A toggle cannot be configured to work with 3 or more values. Examples include on/off buttons for lights, underfloor heating, air conditioners, and other equipment.
Item parameters

| Type | Trigger Button |
|---|---|
| Feedback | Response to presses and equipment data: * None - no visual response to presses or incoming feedback * Channel - the button switches to on when pressed and returns to off on the next press; it displays feedback * Invert Channel - the button switches to off when pressed and returns to on on the next press; it displays inverted feedback (false = on, true = off) * Channel Only - the button switches to on only when the feedback channel value matches Value 2. It switches to off only when the feedback channel value matches Value 1. If the feedback channel contains a value matching neither Value 1 nor Value 2, the button takes the value specified in Undefined Value. * Channel Only feedback cannot be selected unless a link to the device's feedback channel has been created* |
| Value 1 / Value 2 | Values sent to the variable when the toggle is pressed |
| Default Value | Default value assigned to the button when the application starts |
| Undefined Value | Default value assigned to the button when a value other than Value 1/Value 2 is received (active only for Channel Only): * On - switches the button to On * Off - switches the button to Off * None - does not change the button state |
| Hold Time | Time (ms) for which the button must be held to trigger Hold |
| Repeat time | Period (ms) at which Hold triggers for as long as the button is held |
| Send Value By | Send the value on the event: * Send Value by Press - when pressed * Send Value by Release - when released * Send Value by Hold - while held |
Linking to equipment
Drag the variable onto the toggle and specify the following in the variable-linking dialog:

| Parameter | Description |
|---|---|
| Send to command | Send the variable the Value value taken from the graphic item (Trigger Value 1 or Value 2, depending on the toggle's current state) |
| Event for Action | An interface event associated with the button. When it occurs, the specified value is written to the variable: * When pressed - send when pressed * When released - send when released * When held - send repeatedly while held * After holding - send after holding ends Only one event can be used for a toggle at a time |
| Delay | Delay before sending the value after the event is activated. If needed, enable the delay and specify its duration in milliseconds. The delay is added in Programming and can be edited later |
| Assign feedback channel | (Create a feedback channel) Select this checkbox so that the toggle knows its state and changes it when data is received from the variable and when pressed |
The variable is now linked to the toggle. All button links can be viewed in Programming.
How it works
- The button reads the value from the variable's feedback channel (Feedback) and performs the programmed action:
- None. The button has no visual response to presses.
- Channel. The button switches to on when pressed and returns to off on the next press.
- Invert Channel. The inverse of Channel behavior. The button switches to off when pressed and returns to on on the next press.
- Channel Only - the button switches to on only when the feedback channel value matches Value 2. It switches to off only when the feedback channel value matches Value 1. If the feedback channel contains a value matching neither Value 1 nor Value 2, the button takes the value specified in Undefined Value.
- The button can be configured as Radio Buttons. This combines several Trigger Button items under a single logic. Pressing one item in the group makes all the others inactive. This behavior is often seen when selecting one option in a list.
example DOWNLOAD
Radio Buttons
A radio button (Radio Button) is an interface item for selecting one of several preconfigured options. iRidi does not have a separate radio-button item type; you can configure one based on Trigger Button. Radio buttons send values to variables from different buttons, only one of which can be selected.
Radio-button settings and behavior depend on the equipment variable you are working with. The following are several situations and configuration examples.
option 1. Radio buttons controlling one variable with feedback support. They write values to one variable, and equipment returns its current state.
- Configure as many Trigger Button items as there are radio buttons (see the image). In
Value 1andValue 2, specify identical values corresponding to what each button must send to the controlled variable. Set Feedback to Invert Channel. - Drag the variable's control command onto all radio buttons. Select
When pressedorWhen releasedas the send event and be sure to select theAssign feedback channelcheckbox to display the variable's status.

- the configured button switches to State 2 only when the variable takes the value specified in Value 1 or 2.
option 2. Radio buttons controlling variables with feedback support. They write on/off values to different variables, and equipment returns their current states. The automation equipment does not synchronize the variables for radio-button operation (inactive modes must be turned off on the iRidi side):
- Configure items with Type:
Trigger Button, Feedback:Channel, and setValue 1= inactive andValue 2= active variable state (for example, 0/1 or 0/100). - Drag the variables' control commands onto the graphic items. Using the first item in the group as an example:
- Send zeros to all variables in the radio-button group to turn off the currently active mode. In the send-command dialog, select Action:
Send Number. - Add a Delay(50) ms delay in the Press event's macro editor to give equipment time to turn off the active mode.
- Drag the control command for the variable corresponding to the radio button onto the item. Leave Action:
Value from object; use Value on theWhen pressedevent (or When released), and be sure to select theAssign feedback channelcheckbox.

If equipment modes are synchronized by the automation equipment (activating one mode automatically turns the others off), you do not need to send zeros to the variables being turned off. Perform only configuration substep 2.3.
Up/Down Button (increment/decrement button)
Up/Down button is used to change a device variable sequentially by a fixed amount when pressed or held. It works only if the device has a feedback channel. For example, to increase/decrease light brightness by 15 on each press and by 25 while held.
Item parameters

| Type | Up/Down Button |
|---|---|
| Feedback | The button's response to user presses and equipment data: * Momentary - the button switches to on when pressed and returns to off when released; it does not display feedback * None - no visual response to presses or incoming feedback |
| Step | Increment / decrement step (can be greater or less than zero) |
| Limit | Increment / decrement limit (minimum limit for a negative step, maximum for a positive step) |
| Hold Value | Increment / decrement step when Hold triggers. The equipment control command can be assigned to both Press and Hold so that the value increments while the button is held |
| Send step by | Button counter operating mode: * Press - changes the counter when the button is pressed, regardless of which event is triggered * Default - changes the counter according to the event specified in Programming (Press and Release only) |
| Hold time (ms) | Time for which the button must be held to trigger Hold |
| Repeat time (ms) | Hold event repetition frequency |
Linking to equipment
Drag the variable onto the button and specify the following in the variable-linking dialog:

| Parameter | Description |
|---|---|
| Send to command Value from object | Send the variable Value, calculated as the sum of the current value and the step. |
| Event for Action | An interface event associated with the button. When it occurs, the variable is assigned the calculated Value: * When pressed - send when pressed * When released - send when released * When held - send repeatedly while held * After holding - send after holding ends Two events can be used simultaneously |
| Delay | Delay before sending the value after the event is activated. If needed, enable the delay and specify its duration in milliseconds. The delay is added in Programming and can be edited later |
| Assign feedback channel | (Create a feedback channel) Select this checkbox if Value must be calculated according to the variable's current state |
The variable is now linked to the Up / Down buttons. All button links can be viewed in Programming.
How it works
- When Up/Down button is pressed, it takes the value from the variable's feedback channel. For example, the lamp is at 45% brightness, and the channel value is also 45.
- The value from the "UpDownStep" field is then added to the channel value. For example, it is "-10". 45 +"-10" = 35.
- The result (35) is sent to the channel linked to the button.
- While held, the value from the "Up Down Hold Step" field is added to the channel value. For example, it is "-25". 45 +"-25" = 15.
- If the value to send is greater than the value in "Up Down Limit", the value from that field is sent instead. The button then stops sending data until the feedback channel value changes.
example DOWNLOAD
Level
Level is a graphic item that sends a number corresponding to its current slider position to a variable when the level is pressed or its slider is moved. For example, setting the level to 25 turns a dimmable lamp on at 25% brightness.
- Works only if the device has a feedback channel.
Item parameters

| Type | Level |
|---|---|
| Feedback | Channel - the slider moves manually or when data is received Drag Lock - the slider moves manually or when data is received, but ignores incoming data during manual dragging until released |
| Min / Max | Level adjustment limits: define the value range in which the slider moves |
| Direction | Level orientation: Vertical - the slider moves along the vertical axis Horizontal - the slider moves along the horizontal axis |
| Range | Type of values sent: Integer - integer values Float - fractional values |
| Invert | Swaps the bottom and top of the level (for a vertical level, adjustment runs from top to bottom instead of bottom to top) |
| Slider1 Cursor | Level cursor selection: None - do not use a cursor Custom - use a cursor from your own gallery Standard - select a cursor from the available list |
| Slider1 Cursor Color | Level cursor color |
| Slider1 Cursor Image | Load an image for the level cursor (only for Slider1 Cursor – Custom) |
| Slider1 Cursor Scale | Image proportions for the level cursor (only for Slider1 Cursor – Custom): Proportional - size the image proportionally to the level None - use the image's original dimensions |
Linking to equipment
Drag the variable onto the level and specify the following in the variable-linking dialog:

| Parameter | Description |
|---|---|
| Send to command Value from object | Send the variable Value, taken from the level's current slider position within Min...Max. |
| Event for Action | An interface event associated with the item. When it occurs, the specified value is written to the variable: When pressed - send Value when pressed When released - send Value when released When moved - send all intermediate Value values as the slider moves All three events can be used simultaneously |
| Delay | Delay before sending the value after the event is activated. If needed, enable the delay and specify its duration in milliseconds. * Adding a Delay command (min. 100 ms, default 500 ms) before the command on Move is recommended to reduce equipment load (Move triggers no more often than once every 100 ms) |
| Assign feedback channel | (Create a feedback channel) This checkbox is required for the level slider to move according to the variable's current state |
Use feedback to display the value on the item as a number:
- enter a template in the item's text field,
- drag Feedback onto the item and select "In Value".
LIST OF TEMPLATES
| Template | Purpose |
|---|---|
| $V | Integer part of the received value |
| $F1 ... $F5 | Floating-point value with a decimal point. 1 to 5 specifies the number of digits after the point |
| $F,1 ... $F,5 | Floating-point value with a decimal comma. 1 to 5 specifies the number of digits after the comma |
| $S | Number of the selected state |
| $X | Value in HEX format |
| $$ | Dollar sign |
| $P | (Levels only) Percentage of the Level's maximum value |
| $H | (Levels only) Maximum value of the Level |
| $A | (Levels only) Current value minus the Level's minimum value |
| $L | (Levels only) Minimum value of the Level |
| $R | (Levels only) Level range: maximum minus minimum |
Enter the template in the graphic item's text field. It can be combined with other text and symbols (comments or units of measurement)
The variable is now linked to the level. All graphic item links can be viewed in Programming.
How it works
A level can both control an item and display feedback values. For example, pressing the level or moving its slider sends its value to equipment. Setting the level to 25 turns a dimmable lamp on at 25% brightness. When the lamp is dimmed physically using equipment, the value arrives in feedback and is displayed on the level.
example DOWNLOAD
Multistate Level (animated level)
Multistate Level is a graphic item with more than 2 states. Pressing the level sends a number corresponding to the current slider position to the variable. There is no slider as such; instead, the level shows the State corresponding to the selected value or value range. Each State of an animated level can have its own image, text, and color. For example, this level can display equipment connection status (online, offline, waiting for connection, and others).
Item parameters

| Type | Multistate Level |
|---|---|
| Feedback | The level's response to user presses and equipment data: * Channel - states change when pressed and when data is received * Drag Lock - states change when pressed and when data is received, but incoming data is ignored while held until release |
| Min / Max | Level adjustment limits: define the value range in which the level operates |
| Direction | Level orientation: * Vertical - the slider moves along the vertical axis * Horizontal - the slider moves along the horizontal axis |
| Invert | Swaps the bottom and top of the level: frames change from last to first |
Linking to equipment
Drag the variable onto the level and specify the following in the variable-linking dialog:

| Parameter | Description |
|---|---|
| Send to command Value from object | Send the variable Value, taken from the level's current slider position within Min...Max. |
| Event for Action | An interface event associated with the item. When it occurs, the specified value is written to the variable: * When pressed - send Value when pressed * When released - send Value when released * When moved - send all intermediate Value values as the slider moves All three events can be used simultaneously |
| Delay | Delay before sending the value after the event is activated. If needed, enable the delay and specify its duration in milliseconds. * Add a Delay command (minimum 100 ms, default 500 ms) before the command on Move to reduce equipment load (Move will trigger no more often than once every 100 ms) |
| Assign feedback channel | (Create a feedback channel) Select this checkbox so that the level slider moves according to the variable's current state |
The variable is now linked to the level. All graphic item links can be viewed in Programming.
How it works
- The level takes the value from the variable's feedback channel and displays the state whose number matches that value. For example, the lamp is at 45% brightness, the channel value is also 45, and the level displays State 45.
- If the level's maximum number of values exceeds its number of states, it calculates the percentage ratio and displays the corresponding state. For example, the level accepts values from 0 to 100 and has 50 states. Receiving 40 from the variable's feedback channel displays State 20.
- Pressing the level or moving its slider sends its value to equipment. For example, setting the level to 25 turns a dimmable lamp on at 25% brightness.
example DOWNLOAD
Circular level
Circular level is a level whose slider moves around a circular scale. Pressing the level or moving its slider sends a number corresponding to the slider's current position to the variable. It works only if the device has a feedback channel. For example, setting the level to 25 turns a dimmable lamp on at 25% brightness.
Item parameters

| Type | Circular Level |
|---|---|
| Feedback | * Channel - the slider moves manually or when data is received. * Drag Lock - the slider moves manually or when data is received, but ignores incoming data during manual dragging until released. |
| Level Mode | Circular level mode: * Simple - one slider and an active zone * Double - two sliders * Triple - three sliders * Looped - endless |
| Level Min Angle / Level Max Angle | Slider rotation angle limits in degrees: valid values are 0 to 360; the origin and conventional direction of angle measurement follow a clock's hands. Set "Level Min Angle" / "Level Max Angle" to the same value or to 0 and 360 for unrestricted rotation. |
| Min / Max | Limits of the level's adjustable output value. |
| Invert | Level adjustment direction: * False - clockwise * True - counterclockwise |
| Range | Range type: * Integer - integer * Float - floating-point |
| Active Zone | Active zone size as a percentage (0-100): * 100 - the entire circular level area is active * 0 - no active zone, only the slider area |
| DrawFullFirstState | Rendering of the circular level's inactive sector: * False - not rendered in the inactive sector * True - rendered in full (Empty state in the inactive sector) |
| Slider1 Cursor | Slider appearance. |
| Slider1 Cursor Color | Slider color. |
| Slider1 Cursor Image | The slider image in the project gallery. The slider must point vertically upward. This property is available when Slider1 Cursor = Custom. |
| Slider1 Offset | Slider image offset in pixels along the axis from the center to the top point. Always nonnegative. |
| Slider1 Cursor Scale | Fit the slider image to the circular level size: * None - preserve the original dimensions * Proportional - resize proportionally to the circular level |
Linking to equipment
Drag the variable onto the level and specify the following in the variable-linking dialog:

| Parameter | Description |
|---|---|
| Send to command Value from object | Send the variable Value, taken from the level's current slider position within Min...Max. |
| Event for Action | An interface event associated with the item. When it occurs, the specified value is written to the variable: * When pressed - send Value when pressed * When released - send Value when released * When moved - send all intermediate Value values as the slider moves |
| Delay | Delay before sending the value after the event is activated. If needed, enable the delay and specify its duration in milliseconds. The delay is added in Programming and can be edited later. * Add a Delay command (minimum 100 ms, default 500 ms) before the command on Move to reduce equipment load (with Delay, Move will trigger no more often than once every 100 ms). All three events can be used simultaneously. |
| Assign feedback channel | (Create a feedback channel) Select this checkbox so that the level slider moves according to the variable's current state. |
The variable is now linked to the level. All graphic item links can be viewed in Programming.
How it works
-
The level takes the value from the variable's feedback channel. For example, the lamp is at 45% brightness, and the channel value is also 45.
-
Pressing the level or moving its slider around the circular axis sends its value to equipment. For example, setting the level to 25 turns a dimmable lamp on at 25% brightness.
-
A circular level has several configuration modes:
- Simple - a simple circular level that can be used for volume, illuminance, and so on.
- Looped - an endless circular level. This level is useful when a value needs to be set more precisely. For example, when adjusting volume (level values from 0 to 100), music is quiet at 60 and very loud at 65, while 62 is optimal. Setting intermediate values on a simple circular level can be difficult. An endless level can be used in this case.
- Double - a level with two values. For example, it can be used to configure a temperature sensor for room heating. One value is the sensor's setpoint, and the other is the current room temperature. Heating runs until it reaches the maximum deviation from the setpoint temperature, then turns off.
- Triple - a level with three values. The use case is the same as for Double, but this mode allows 3 values: minimum, maximum, and current room temperature.
example DOWNLOAD


Circular level modes
Simple - a simple circular level that can be used for volume, illuminance, and so on.

Looped - an endless circular level.
This level is useful when a value needs to be set more precisely. Selecting this mode makes the "ChangingAngle" property available; it sets the number of level revolutions needed to reach the maximum value.
For example, when adjusting volume (level values from 0 to 100), music is quiet at 60 and very loud at 65, while 62 is optimal. Setting intermediate values on a simple circular level can be difficult. An endless level can be used in this case.

Select the corresponding circular level mode and set "ChangingAngle" to a convenient value (2 - one revolution=50, 4 - one revolution=25, and so on). This makes it easy to set 62.
Double - a level with two values.

For example, it can be used to configure a temperature sensor for room heating. One value is the sensor's setpoint, and the other is the current room temperature. Heating runs until it reaches the maximum deviation from the setpoint temperature, then turns off.
For this, the created level must be configured as follows:
- Set Double mode.

-
For one slider value, set Hit to Pass Through so that the user cannot control it. This value displays the current temperature.
-
Create a script. This example uses a Modbus device.
var point;
IR.AddListener(IR.EVENT_ITEM_RELEASE,IR.GetItem("Page 1").GetItem("Circle level"), function(){
data = IR.GetItem("Page 1").GetItem("Circle level").Value2;
});
var Modbus = IR.GetDevice("Modbus TCP");
IR.AddListener(IR.EVENT_CHANNEL_SET, Modbus, function() {
var temperature = IR.GetVariable("Drivers.Modbus TCP.Feedback 1");
IR.GetItem("Page 1").GetItem("Circle level").Value1 = temperature;
if(temperature>=point+2){
IR.SetVariable("Drivers.Modbus TCP.Channel 1", 0);
}
if(temperature<=point-2) {
IR.SetVariable("Drivers.Modbus TCP.Channel 1", 1);
}
});
Triple - a level with three values.

The use case is the same as for Double, but this mode allows 3 values: minimum, maximum, and current room temperature. Heating therefore turns on at the set minimum temperature and off when the maximum is reached. This fully automates maintaining room temperature.
Configuring this level mode is very similar to Double:
- Set Triple mode.
- For one slider value, set Hit to Pass Through so that the user cannot control it. This value displays the current temperature.
- Create a script. This example uses a Modbus device.
var min;
var max;
IR.AddListener(IR.EVENT_ITEM_RELEASE,IR.GetItem("Page 1").GetItem("Circle level"), function(){
min = IR.GetItem("Page 1").GetItem("Circle level").Value1;
max = IR.GetItem("Page 1").GetItem("Circle level").Value2;
});
var Modbus = IR.GetDevice("Modbus TCP");
IR.AddListener(IR.EVENT_CHANNEL_SET, Modbus, function() {
var temperature = IR.GetVariable("Drivers.Modbus TCP.Feedback 1");
IR.GetItem("Page 1").GetItem("Circle level").Value3 = temperature;
if(data>=max){
IR.SetVariable("Drivers.Modbus TCP.Channel 1", 0);
}
if(data<=min) {
IR.SetVariable("Drivers.Modbus TCP.Channel 1", 1);
}
});
Multistate circular level (animated circular level)
Multistate circular level is a circular level with more than 2 states. Changing the level value (rotating it) sends a number corresponding to the slider's current position to the variable. There is no slider as such; instead, the level shows the State corresponding to the selected value or value range. Each State of an animated level can have its own image, text, and color. This level can display thermostat temperature, light brightness, audio system volume, and other values.
Item parameters
-8ea0055d36eee7581de0150fd7542fcb.png)
-3e98a7a64ed6a8f57e489c1f8f702b07.png)
| Type | Multistate Circular Level |
|---|---|
| Feedback | The level's response to user actions and incoming data * Channel - the slider moves manually or when data is received * Drag Lock - the slider moves manually or when data is received, but ignores incoming data during manual dragging until released |
| LevelMode | Circular level mode * Simple - one slider and an active zone * Double - two sliders * Triple - three sliders * Looped - endless |
| Level Min Angle / Level Max Angle | Slider rotation angle limits in degrees: valid values are 0 to 360; the origin and conventional direction of angle measurement follow a clock's hands. Set Level Min Angle / Level Max Angle to the same value or to 0 and 360 for unrestricted rotation. |
| Min / Max | Limits of the level's adjustable output value |
| Invert | Level adjustment direction * False - clockwise * True - counterclockwise |
| Range | Range type * Integer - integer * Float - floating-point |
| Active Zone | Active zone size as a percentage (0-100) * 100 - the entire circular level area is active * 0 - no active zone, only the slider area(s) |
| DrawFullFirstState | Rendering of the circular level's inactive sector * False - the inactive sector is not rendered * True - rendered in full (Empty state in the inactive area) |
| Slider1 Cursor | Slider appearance |
| Slider1 Cursor Image | Slider image from the project gallery (the cursor must point vertically upward) Available when Slider1 Cursor = Custom |
| Slider1 Offset | Slider image offset along the axis in pixels from the center to the top point Always ≥ 0 |
| Slider Cursor Scale | Fit the slider image to the circular level size * None - preserve the original dimensions * Proportional - scale proportionally to the level size |
Linking to equipment
Drag the variable onto the level and specify the following in the variable-linking dialog:

| Parameter | Description |
|---|---|
| Send to command Value from object | Send the variable Value, taken from the level's current slider position within Min ...Max. |
| Event for Action | An interface event associated with the item. When it occurs, the specified value is written to the variable * When pressed - send Value when pressed * When released - send Value when released * When moved - send all intermediate Value values as the slider moves |
| Delay | Delay before sending the value after the event is activated. It can be enabled and set in milliseconds. The delay is added in Programming and can be changed later *Add a Delay command (minimum 100 ms, default 500 ms) before the command on Move to reduce equipment load (with Delay, Move will trigger no more often than once every 100 ms). All three events can be used simultaneously. |
| Assign feedback channel | (Create a feedback channel) Checkbox for moving the level slider according to the variable's current state |
The variable is now linked to the level. All graphic item links can be viewed in Programming.
How it works
- Multistate circular level takes the value from the variable's feedback channel and displays the state whose number matches that value. For example, the lamp is at 45% brightness, the channel value is also 45, and the level displays State 45.
- If the level's maximum number of values exceeds its number of states, it calculates the percentage ratio and displays the corresponding state. For example, the level accepts values from 0 to 100 and has 50 states. Receiving 40 from the variable's feedback channel displays State 20.
- Pressing the level or moving its slider sends its value to equipment. For example, setting the level to 25 turns a dimmable lamp on at 25% brightness.
Example:
Joystick
Joystick is a graphic item with 1 state and a cursor. Its X and Y coordinates represent the current joystick cursor position. Minimum and maximum values limit the cursor's movement range. It can obtain the color under the cursor to control RGB lighting.
Item parameters

| Type | Joystick |
|---|---|
| Feedback | Response to events * Momentary - the user moves the cursor |
| MinX ... MaxX / MinY ... MaxY Cursor movement range along the X and Y axes | – |
| Range | Range type * Integer - integer * Float - floating-point |
| InvertX / InvertY | Swaps the minimum and maximum on the X and Y axes |
| Slider1 Cursor | Cursor appearance |
| Slider1 Cursor Color | Cursor color |
Linking to equipment
A joystick can be linked to a variable directly or through a script. A script is normally used to obtain the color under the cursor and send its components to RGB strip control channels.
RGB LED strips are controlled using DMX controllers and have one of these configurations:
- Red, Green, Blue - three channels control the strip's color. Brightness is reduced by reducing the brightness of the individual color channels.
- Red, Green, Blue, Alpha - four channels control the strip's color and brightness.
option 1. Control an RGB strip using three (four) items of type Level.
Create 3 (4) Unsigned 8-bit variables (Subtupe: VALUE) in the project. The variables are controlled within 0...255; increasing a channel value increases the brightness of its corresponding color.
option 2. Control an RGB strip using a palette.
Any colored item can be used as a palette: moving a finger across the item sends equipment a command to set the selected color.
This requires adding a special script, the RGB library, to the project. The script must be added only 1 time; it can then control RGB strips through any built-in iRidi driver.
2.1. Create a palette and auxiliary items. Any colored image can be used as a palette.
- Configure the palette as a Joystick with an adjustment range of 0...100 on X and Y;
- Configure an inactive Button item to display the color selected on the palette;
- If needed, configure active Button items to adjust the strip's brightness in steps.

2.2. Download the file RGB_Library.js
This file provides color control using JavaScript. Add the file to the visualization project: open the project in iRidi Studio, click , and select ( + ) "Add Script From File".
2.3. Create an empty script file using ( + ) "New Script" and add your RGB palette definition: In the script file, define the palette and the item that displays the selected color:
///////// Copy this function to make one more RGB palette ///////
RGB_player(
"Driver", // Driver in project
"Channel Red", // Name of Red Channel
"Channel Green", // Name of Green Channel
"Channel Blue", // Name of Blue Channel
255, // Top limit for RGB channel (100 or 255)
IR.GetItem("Page 1").GetItem("Item Color Picker 1"), // Item "Color Picker"
/////// optional parameters ///////////////////////////
IR.GetItem("Page 1").GetItem("Item Display 1"), // Item "Display"
)
The extended version includes brightness control buttons:
///////// Copy this function to make one more RGB palette ///////
RGB_player(
"Driver", // Driver in project
"Channel Red", // Name of Red Channel
"Channel Green", // Name of Green Channel
"Channel Blue", // Name of Blue Channel
255, // Top limit for RGB channel (100 or 255)
IR.GetItem("Page 1").GetItem("Item Color Picker 1"), // Item "Color Picker"
/////// optional parameters ////////////////////////////
IR.GetItem("Page 1").GetItem("Item Display 1"), // Item "Display"
IR.GetItem("Page 1").GetItem("Up 1"), // Item "Up"
IR.GetItem("Page 1").GetItem("Down 1"), // Item "Down"
10 // Increment step for "Up" and "Down"
)
In the definition, specify where the palette is located and which equipment receives its data:
- IR.GetDevice("Driver") - the name of the driver to which RGB commands will be sent. Copy the driver name from Devices > Name ;
- "Channel Red", "Channel Green", "Channel Blue" - the names of the variables (Commands) that control the red, green, and blue color components. Copy the names from Device > Commands > Name . Commands names must match the Feedbacks names from which the RGB strip's current color is received.
HDL-Buspro, Domintell- use a special naming format. For these drivers, specify network device name: channel name, for example "Dimmer in Bedroom:Channel 1";
- 255 - the maximum brightness value for each color. Most equipment adjusts brightness from 0 to 255, but some drivers control color brightness within 0...100 (for example, HDL). For HDL-Buspro, specify 100 in this configuration line;
- IR.GetItem("Page 1").GetItem("Item Color Picker 1") - the name of the page ("Page 1") and its item ("Item Color Picker 1") to use as the palette;
- IR.GetItem("Page 1").GetItem("Item Display 1") - the name of the page ("Page 1") and its item ("Item Display 1") to display the color selected on the palette;
- IR.GetItem("Page 1").GetItem("Up 1") - the name of the page ("Page 1") and its item ("Up 1") that increases the selected color's brightness when pressed;
- IR.GetItem("Page 1").GetItem("Down 1") - the name of the page ("Page 1") and its item ("Down 1") that decreases the selected color's brightness when pressed;
- 10 - the amount by which the selected color's brightness increases/decreases when Up and Down are pressed.
2.4. Click "OK" to save the palette definition, then run the Emulator to test it.
Errors caused by an incorrect palette definition are displayed in the log window (F4).
option 3. Control an RGBW strip using a palette and a level.
Any colored item can be used as a palette: moving a finger across the item sends equipment a command to set the selected color. Use a Level graphic item to control brightness.
This requires adding a special script, the RGBW library, to the project. The script must be added only 1 time; it can then control RGBW strips through any built-in iRidi driver.
3.1. Create a palette and auxiliary items (a level, an off button, and others). Any colored image can be used as a palette.
- Configure the palette as a Joystick with an adjustment range of 0...100 (255) on X and Y;
- Configure a Level item to adjust lighting brightness within 0...100 (255);
- Configure an inactive Button item to display the color selected on the palette;
- If needed, configure active Button items to adjust the strip's brightness in steps.

3.2. Download the file RGBW Library.js
This file provides color control using JavaScript. Add the file to the visualization project: open the project in iRidi Studio, click , and select ( + ) "Add Script From File".
3.3. Create an empty script file using ( + ) "New Script" and add your RGBW palette definition: In the script file, define the palette and the item that displays the selected color:
///////// Copy this function to make one more RGBW palette ///////
RGBW_player(
"Driver", // Driver in project
"Channel Red", // Name of Red Channel
"Channel Green", // Name of Green Channel
"Channel Blue", // Name of Blue Channel
"Channel White", // Name of White Channel
255, // Top limit for RGBW channel (100 or 255)
IR.GetItem("Page 1").GetItem("Item Color Picker"), // Item "Color Picker"
IR.GetItem("Page 1").GetItem("Item White Level"), // Item "White Level"
/////// optional parameters for feedback color and white channel value ///////
IR.GetItem("Page 1").GetItem("Color Display"), // Item "Color Display"
IR.GetItem("Page 1").GetItem("Item White Level") // Item "White Display"
);
In the definition, specify where the palette is located and which equipment receives its data:
- IR.GetDevice("Driver") - the name of the driver to which RGBW commands will be sent. Copy the driver name from Devices > Name ;
- "Channel Red", "Channel Green", "Channel Blue", "Channel White" - the names of the variables (Commands) that control the red, green, blue, and white (brightness) color components. Copy the names from Device > Commands > Name . Commands names must match the Feedbacks names from which the RGBW strip's current color is received.
HDL-Buspro, Domintelland other network-type drivers use a special naming format. For these drivers, specify network device name: channel name, for example "Dimmer in Bedroom:Channel 1";
- 255 - the maximum brightness value for each color. Most equipment adjusts brightness from 0 to 255, but some drivers control color brightness within 0...100 (for example, HDL). For HDL-Buspro, specify 100 in this configuration line;
- IR.GetItem("Page 1").GetItem("Item Color Picker 1") - the name of the page ("Page 1") and its item ("Item Color Picker 1") to use as the palette;
- IR.GetItem("Page 1").GetItem("Item Display 1") - the name of the page ("Page 1") and its item ("Item Display 1") to display the color selected on the palette;
- IR.GetItem("Page 1").GetItem("Slider Level 1") - the name of the page ("Page 1") and its item ("Slider Level 1") that adjusts the selected color's brightness when the level value changes;
3.4. Click "OK" to save the palette definition, then run the Emulator to test it.
Errors caused by an incorrect palette definition are displayed in the log window (F4).
How it works
- Pressing the joystick or moving its slider splits the selected color into 3 primary colors: red, green, and blue. For example, purple combines blue and red.
- The resulting values are sent to the 3 corresponding channels, Red, Green, and Blue, so equipment receives the color originally selected. This lets you turn lighting or backlighting on in any available color within the palette's range.
- Combining the 3 feedback channels lets you show the current color on a display.
example DOWNLOAD
Edit Box (input field)
Edit Box is an item for keyboard input. Entered data remains on the item and can be retrieved to send to equipment or process in a script. An input field is most often used to enter a password or other data using the keyboard.
Item parameters

| Type | Edit Box |
|---|---|
| Feedback | Response to presses * Momentary - the input field is highlighted when it receives focus |
| Hold Time | Time (in ms) for which the button must be held to trigger Hold |
| PasswordChar | The character that visually replaces any text entered in EditBox Used to hide entered passwords. The original text can be retrieved from the property .Text |
Linking to equipment
An input field can be linked to a variable directly or through a script.

When the input field is pressed, execute the command to open the keyboard:
- Programming > Press > «Show Keyboard [keyboard_type]».
On the Enter event, pass data from Editbox to an item or driver.
Example workflow:
- Press - opens the smartphone (tablet) virtual keyboard
- Enter - the input field sends text to the driver as a command, closes the keyboard, and clears the input field.
To remove previously entered data, write an empty string to the input field:


How it works
- Pressing Edit Box activates the input field.
- You can configure the font, its color or size, or completely encrypt the entered data. For example, encrypting entered text is often used for passwords.
- The value entered in Edit Box is written to the variable when Enter is pressed on the keyboard. After sending the value, you can also configure automatic clearing of the text field or an error message. For example, entering an incorrect password clears the text field and displays: "Incorrect password, please try again!".
example DOWNLOAD
TextArea (input field)
TextArea is an item for entering multiline text using the keyboard. It is an enhanced version of Edit Box for working with large amounts of text. It wraps text at a space at the end of a line or when Enter is pressed; use the scroll bar to navigate the text conveniently. This item has an enhanced paste helper . When invoked without a selection, Paste, Select, and Select All are available. With a selection, Paste, Copy, and Cut are available. TextArea is most often used for notes or editing multiline text.
Item parameters

| Type | TextArea |
|---------------|-------------|---------------------------|
| Feedback | Response to presses
* Momentary - the input field is highlighted when it receives focus |
| Hold time | Time (in ms) for which the button must be held to trigger Hold |
| Repeat time | Hold event repetition frequency |
| PasswordChar | The character that visually replaces any text entered in TextArea
Used to hide entered passwords. The original text can be retrieved from the property .Text |
| Tags | Assign a tag to the item to make it easy to find in the project tree
Enter the tag name in the Project panel's search field to display all items with that tag |
Linking to equipment
An input field can be linked to a variable directly or through a script.

When the input field is pressed, execute the command to open the keyboard:
- Programming > Press > «Show Keyboard [keyboard_type]».
When held, open the "paste helper" window:
- Programming > Hold > Show paste helper.
Program an additional button to send text to the variable.
Example workflow:
- Pressing TextArea opens the smartphone (tablet) virtual keyboard;
- Pressing the "Save" button makes the input field send text to the variable, close the keyboard, and clear the input field.
To remove previously entered data, write an empty string to the input field:


How it works
- Pressing TextArea activates the input field.
- You can configure the font, its color or size, or completely encrypt the entered data. For example, encrypting entered text is often used for passwords.
- Clicking the left mouse button or holding on the screen opens paste helper , which lets you copy, cut, or paste selected text. When invoked without a text selection, Paste, Select, and Select All are available. With a text selection, Paste, Copy, and Cut are available.
- The item supports keyboard shortcuts:
- Ctrl+A - select all,
- Ctrl+C - copy the selection to the clipboard,
- Ctrl+V - paste clipboard text into the item,
- Ctrl+X - cut selected text from the item to the clipboard,
- The value entered in TextArea is written to a variable when a button programmed for this purpose is pressed in the graphic interface, on Press or Release. After sending the value, you can also configure automatic clearing of the text field or an error message. For example, pressing "Save" writes the text to a project variable and clears the input field for further entries.
example DOWNLOAD
Virtual key
Virtual key is an item for creating a custom keyboard. You can use virtual keys to create a keyboard of any type and configuration in an iRidi project.
Item parameters
-f323f47a145f28ab41ec72af913c2924.png)
| Type | Virtual key |
|---|---|
| Feedback | Response to presses: - Momentary - for keys that enter an individual character - Channel - for keys that can switch case To switch layouts, use a project variable that stores a number representing the key's current state. Link the variable using "In Value" to switch case. |
| Key Type | The key type determines its behavior: - Normal - a key with 1 state (no case switching) - Trigger - a key with 2 states (for example, case or keyboard layout switching) - Multistate - a key with multiple states (the number of states can be set freely) |
| Key Action | Key event: - Insert Text - enters the character specified in the key's text field. Enter 1 letter or digit in the text field, and the key will send it - Enter, Up, Down, Left, … - Windows keyboard commands |
A virtual key sends a value to the active input field (Edit Box). If no input field has been created, the value is not written anywhere.
How it works
- Each Virtual key can be configured for a particular character or keyboard function (Enter, Delete, and others).
- Pressing a virtual key writes the selected character to the active text field. This works just like a standard Android or iOS touch keyboard, but Virtual key lets you tailor the keyboard's design directly to the current project.
example DOWNLOAD