Project

General

Profile

Constant Value Input » History » Version 2

Adam Klama, 06/21/2026 03:06 PM

1 1 Adam Klama
# Constant Value Input
2
3
## Overview
4
A **Constant Value Input** simply outputs a single, fixed number. It has no
5
sensor — its value never changes on its own, but you can **tune it**
6
from the app. Use it as an adjustable constant or threshold that other IO can
7 2 Adam Klama
reference by alias: a limit fed into a [Compare Input](Compare_Input), a fixed
8
operand for a [Math / Divide Input](Math_Divide_Input), or a calibration
9 1 Adam Klama
offset used by a map.
10
11
## Prerequisites & hardware
12
None. This is a logical input with no source inputs — it
13
stands on its own. You only need somewhere to use it: another input, output or
14
map that will reference it by **alias**.
15
16
## Add it in the app
17
1. Add a new input and choose **Constant Value Input** as the type.
18
2. Give it a clear **alias** (e.g. `Shift Pressure Limit`).
19
3. Enter the **value**.
20
21
## Settings reference
22
> Schema: `config/ConstantValueConfiguration.proto`.
23
24
| Setting | Meaning | Unit | Range / values | Notes |
25
|---|---|---|---|---|
26
| **Value** | The fixed value this input reports | — (the value referencing IO expect) | sint32 | Can be negative. Change it any time to retune the constant; everything referencing this input picks up the new value. |
27
28
## Common settings
29 2 Adam Klama
Constant Value Input also uses the shared setting — alias. See [Common IO Settings](Common_IO_Settings).
30 1 Adam Klama
31
## Example — a tunable shift-pressure limit
32
1. Type **Constant Value Input**, alias `Shift Pressure Limit`.
33
2. Set **Value** to `850` (the limit in your pressure units).
34 2 Adam Klama
3. In a [Compare Input](Compare_Input), compare your measured pressure against
35 1 Adam Klama
   `Shift Pressure Limit`. To raise the limit later, edit this one value rather
36
   than every place it is used.
37
38
## Troubleshooting
39
- **The value never updates downstream:** confirm the other IO references this
40
  input by its **alias**, not a hard-coded number.
41
- **Wrong magnitude:** make sure the value is in the same units/scaling the
42
  consumer expects (e.g. if a map works in tenths, enter `850` for 85.0).
43
44
## Related
45 2 Adam Klama
- [Compare Input](Compare_Input) — compare a signal against a value or constant.
46
- [Math / Divide Input](Math_Input) — combine inputs, often with a constant.