Community Question

The Mobile Interface Builder tutorial

www.ez-robot.com/Tutorials/Help.aspx?id=196

says the variable watcher is a supported control, but I don't see how to add it

Thanks,
Frank
faengelm
Commented November 2017
@dj
Thanks for the quick reply.

I'm thinking I did not state my question correctly

I know how to add and use the variable watcher control in the desktop, but I don't see anyway to add it in the mobile interface



I'm not sure what you mean by the "Controls" button? I

However, I can see that if I add the control in the desktop, as you suggested, it is available in scripting but only with limited functions... i.e. it doesn't make it visible in the mobile interface

User-inserted image

Maybe it would help if I explained what I'm trying to accomplish... they may be an easier way

I want to view the state of a digital input in the mobile interface. Is there a way to do this?

Thanks,
Frank
DJ Sures
Commented November 2017
1) Add the Variable Watcher to your ez-builder project. Consult the manual for the variable watcher on how to add controls. Press PROJECT->ADD CONTROL and locate the variable watcher. This will add the variable watcher to your project.

2) Save your project to the cloud

3) Load your project on a mobile device from the ez-cloud

4) Access the variable watcher with the CONTROLS menu option in the ez-builder mobile interfae

Alternatively, you can specify what control to have in the foreground in the mobile interface by using the ShowControl() function in the OnClick of a button. You can view what ShowControl() options exist by looking at the cheat sheet. Click on the cheat sheet <-here to read more about it.
DJ Sures
Commented November 2017
Here is a project i made for you: showvariablewatcher.EZB

For more information on making mobile apps, please consult this link: http://www.ez-robot.com/Tutorials/Lesson/68
faengelm
Commented November 2017
@DJ,
Thanks for the very detailed response... I really appreciate it

Frank
DJ Sures
Commented November 2017
Anytime :D
Question
Avatarfaengelm
Asked on Saturday, November 4, 2017