Bitfocus AS
Bitfocus AS

Loading...

Footer

Bitfocus

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

FacebookInstagramGitHubYouTubeLinkedIn

Products

  • Buttons
  • Companion

Integrations

  • Supported Devices
  • Developer Community
  • Connection Development

Support

  • Support Overview
  • Documentation
  • Video Tutorials
  • Community Forum

Sales

  • Resellers & Integrators
  • Buttons Pricing

Updates

  • Case Studies
  • Events & Trade Shows
  • Press Releases
  • Product Updates
  • Webinars

Legal

  • Legal Overview
  • Privacy Policy
  • Buttons EULA
  • Terms & Cookie Policy

Company

  • About us
  • Press kit
  • Careers
Co-funded by the European Union

Our Bitfocus Workflow 2.0 project is co-funded by the European Union’s Creative Europe programme. About the project

© 2026 Bitfocus AS. All rights reserved.

Feedback variables with text
Docs for
Overview
Getting started
What is Bitfocus Buttons?
Install Buttons and get started
Manage your Buttons license
Activate Buttons offline
Find your way around Buttons
Create your first backup
Add an ATEM connection
Choose a control method
Choose an installation path
Install Buttons on Debian or Ubuntu
Understand HA clustering
High Availability
Upgrade Buttons
Remove Buttons
Positions
Understand positions
Encoders and taps
Create a position
Custom button layouts
Add controls and sections to a position
Feedback variables with text
Create your first button
Use a connection's presets
Build more capable button actions
Encoders
Add more feedback to a button
Organize controls in a section
Shift Section
Organize controls with a Folder Section
Add a Popover Section
Build and reuse a Shared Section
Show different controls by role
Choose a routing panel
Build a Router Section
Understand Custom Routers
Custom Router panel
Surfaces
Surface compatibility
Add and attach a surface
Device orientation
Connections
Update a connection's module safely
Monitor and troubleshoot a connection
Port forwarding (HA)
Router integrations
VideoHub and AJA KUMO
Utah Scientific BPS
Generic SW-P-08
Nevion VideoIPath
Arkona BLADE//runner
Evertz Quartz
Imagine LRC
Riedel MediorNet
Nevion MRP
Ross Video NK router
TAG Video Systems MCS
Routing
Physical routing
Shape direction
Configure ports and labels
Take a physical route
Understand route status
Topology graph
Routing Presets
Get started with virtual routing
Configure Nested Shapes
Reverse routing
Tielines
Routing Projects
Routing settings
Troubleshoot a route
Tally
Understand the Tally system
Send ATEM tally and labels to a UMD
Interpret Active Tally state
TSL/UMD connections
Diagnose tally problems
NMOS
Understand NMOS in Buttons
Connect Buttons to an NMOS Registry
Built-in Registry Server
Configure NMOS connections
Discover and adopt
Browse the NMOS inventory
Manage NMOS multicast addresses
Diagnose NMOS problems
Cuelists
Understand Cuelists
Run and stop cues
Build a Cuelist
Cuelist state
Read and advance a running Cuelist
Control a Cuelist from a Position
Workflows
Understand workflows
Build your first workflow
Encoders
Reuse a group of workflow nodes safely
Port forwarding (HA)
Troubleshoot a workflow
Recipes
Sequence a timed automation
Call an HTTP endpoint from a workflow
REST endpoint
Use variables
Understand variable scope
Understand nested variables
Update expressions for v1.8
Plan and use Tags
Access
Create and manage users
Create roles and assign permissions
Grant access to specific resources
Set up PIN and NFC sign-in
SSO
Get started with SSO
Connect a generic OIDC provider
Connect LDAP or Active Directory
Map identity claims to roles
Secure a Buttons deployment
Integrations
External control
Connect to Bitfocus Listener
USB Relay
Install USB Relay on Windows
Install USB Relay on macOS
Desktop app
Install USB Relay on Linux
Install USB Relay on a Raspberry Pi
Get started with the Control API
Secure and monitor the Control API
Control API reference
AI assistants (MCP)
Connect an AI assistant
Edit with an assistant in the editor
What an assistant can do
Manage MCP access and tokens
Actions
HTTP replies
Administration
Enable and manage installable features
Services and health
Configure and monitor scheduled backups
Restore a backup and verify it
Export or import Buttons configuration
Store and rotate connection secrets
Replace the HTTPS certificate
HA backup and recovery
Settings
Collect support information
Reference
Glossary
Button Inspector reference
Network ports reference
Expressions
Internal actions reference
Custom Router button types
Startup configuration reference
Workflow nodes
Connection workflow nodes
Workflow variable and action nodes
Internal workflow nodes
Position workflow nodes
API workflow nodes
Utility workflow nodes

Loading...

Previous
← Add controls and sections to a position
Next
Create your first button →
Contact support →
You are viewing documentation for Buttons 1.10.See the docs for Buttons 1.8
Buttons/Positions/Feedback variables with text

Feedback variables with text

View as Markdown
A Feedback variable stores the result of a feedback on the button, so you can show it in the button's text with $(self.state.name) or use it in an expression. How to add one is described in Add more feedback to a button.
From Buttons 1.9.2, a Feedback variable holds the text or number the feedback reports whenever the feedback reports one. Only a feedback that reports nothing beyond on or off still gives true or false.
This matters most for Buttons' own feedbacks. A button can now show which source is selected in a router, which label a tally consumer shows, or why the last route failed, without an extra workflow.

What each feedback gives#

Feedback
What the variable holds
Router Context Feedback with a label check, see below
The label, for example HDMI 1
Router Context Feedback with Last Route Had Error
The error text of the last failed route, or empty text when the last route worked
Router Context Feedback with an on/off check, such as Has Source Selection
true or false
Tally Consumer State
The label the consumer shows, such as Cam 1. A consumer without a label gives true or false.
TSL Input with Read set to Label
The label received on the channel
Tieline Available Relation Count
The number of tieline relations that are free, for example 17
Cuelist Status
The cues that pass the check, see Show cuelist state on buttons
A module's value feedback, such as an audio level
The value, as before
The Router Context Feedback checks that give text are Selection Label, Active Label Selection Label, Route State Source Label, Active Destinations Label, Bundle Label, Port Label, Device Label, Project Label, Routing Preset Label, Matching Preset Label, Match Count Label and Can Take. Can Take gives the same text as Match Count Label, or Preset when a routing preset is selected.

Example: show the selected source on a router key#

  1. Inside a Custom Router section, add a button. Router Context Feedback reads the router the button belongs to.
  2. On the button's Variables tab, add a Self variable named selLabel. Set Type to Feedback, pick Router Context Feedback, set Feedback to Selection Label and Side to Source, and select Create.
  3. On the Design tab, set the text to $(self.state.selLabel).
  4. Select Apply.
When an operator selects a source in that router, the key shows its name, for example HDMI 1.

Note

A label check needs the router it describes. On a button placed outside the router, the variable can't find a selection and stays false.

Update expressions that compare with true or false#

An expression or condition written for earlier versions may compare one of these variables with true or false, for example $(self.state.selLabel) == true. From 1.9.2 the variable holds text, so that comparison is never true. Change the check to look at the text instead:
Before
From 1.9.2
$(self.state.selLabel) == true
$(self.state.selLabel) != ''
$(self.state.tlcount) == true
$(self.state.tlcount) > 0
Or switch the variable to an on/off check of the same feedback, such as Has Source Selection, if the button only needs to know whether something is selected.

If you get stuck#

What you see
What to try
The variable shows false although a source is selected.
The button is outside the router the check reads. Move it into the Custom Router section, or use a check that works anywhere.
The variable shows true or false, not a label.
The check you picked is an on/off check. Pick one of the label checks listed above.
A condition that used to work never runs.
It compares the variable with true. See Update expressions that compare with true or false.

Was this helpful?

Was this helpful?

0 of 0 users found this page helpful