Welcome to Synthiam!

Program robots using technologies created by industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation, and artificial intelligence easy.

Get Started
Asked — Edited

Saying A Variable From The Variable Watcher

Ok
I am running one of those other boards and sending a variable to EZB and into the variable watcher.
This is a room temperature reading.
The variable name is $Temp.
I want to have EZB tell me the variable value at the time I ask for it.
(Example: It is 74 degrees in the room at the time of the reading.)
I have tried ... SayWait("The temperature is ", +$Temp) but all i get is a error.

What is the proper way to ask EZB to say a int variable from the variable watcher?

Thanks


ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

AI Support Bot
Related Content
Synthiam
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
PRO
Synthiam
#2  
1) you don't interact a variable from the variable watcher. The variable watcher merely displays the contents of declared variables

2) the syntax to combine variables is the same in all programming languages, which is a + symbol

Your code would be:

Code:


SayWait("The temperature is " + $Temp)
#3  
I needed to have the space between the "+" & "$Temp".

Thanks guys
PRO
Synthiam
#4  
And you should not have a comma