Asked — Edited

Want To Use Image Buttons As Real Time Indicators

Good Afternoon,

I am building a program where I am using all 24 Digital Inputs to monitor relay contacts. I would like to build a "GUI" using the Mobile Interface. How can I, or what can I use to show real time changes using a picture of red or green? Can I use the image button?

Any and help is appreciated! WayneA


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

PRO
Synthiam
#1  

That is not supported in ARC mobile. Your option is to display word values with script labels.

Otherwise, creating your own mobile app using the sdk.

#2  

Does anyone in the community have any knowledge on how to assist me? If possible?

PRO
USA
#3  

Wayne,

Are you familiar with development and/or visual studio c# ?

mobile application i presume is for an android, apple/ios only app store or licensed developers.

#4  

I am not familiar with anything.

#5  

I thought Anonthy XLRobots figured out how to do that?

With script labels I would assume you could change the color of the text, between red and green?

PRO
Synthiam
#6  

There is no control over mobile element styles programmatically. This can be considered for a future release. In the meantime, the solution is to use a Script Label, which can display text programmatically.

PRO
USA
#7  

@Wayne:

you can do something like this:

User-inserted image

more than that only with a custom application.

Belgium
#8  

So if I understand it correctly, you want a GUI with 24 buttons, displaying on/off ?

#9  

@DJ Thank you for your prompt response.

@ptp Thank You for the suggestion. I have already done that, the boss said no.

@phg Not a clickable button, but a button yes, that I assign a picture to, based on the status of the code I give it.

When you click the image button the button changes. That's part of the software, I understand that. I had originally thought this could be done, based on the searches I found in the forums. I did not see any initial code to help me get started.

The project is to monitor 21 lights. They all have dry relay output contacts. I was going to use the EZB and all ports to monitor the device that controls the lights. Since the light controller was made in the 1960's and after months of research, I found the EZB the easiest and simplest way to do this. So far so good, until I ran into the snag of the display GUI that I am trying to design. But no harm no foul.

I will have to tell the boss man that this is the best we can do for now. There is always room to upgrade.

PRO
Synthiam
#10  

Wayne, I will consider adding a mobile feedback feature as you requested. I can see it being useful for a few scenarios.

Tell the bossman that ezrobot will eventually have that ability in a few weeks or so.

#11  

@ptp With your permission may I use your idea?

@DJ Thank You! I know both the boss and myself will be most appreciated. Since the light monitoring system will be shared with another company via the built in web page - awesome by the way. I still have a lot more work to do. What is the best way to contact you directly DJ? The forum? Do you have an email address?

Thanks!

PRO
Synthiam
#12  

Stay tuned for ARC future updates that may be relevant to your feature request. I have no timeline associated with feature requests.

PRO
USA
#13  

@Wayne,

off-course, no issues, we are here to help & share & learn.

#14  

Question Please: Whenever use GetDigitial Port 20,21,22 , the end result is always a 1. I have nothing tied to the ports. The Ezb is just running, and my PC is connected to it. What is the cause of this?

PRO
USA
#15  

@Wayne,

When you perform a read over an unconnected pin, you will get floating values, can be alternating between zero and one, always one, always zero.

Nothing wrong with your ezb. If you want to test the theory, connect GND to ports 20,21,22 and you will get always zero.

PRO
Synthiam
#16  

Also, note there is a 5v limit to the digital logic pins. If you provide too much current to the logic pins, it will damage the ezb and those pins will stop working correctly. Please consult the datasheet of the ezb for voltage limits.

You will find the datasheet in the ezb course: https://synthiam.com/Tutorials/Course/5

#17  

@DJ

What is the status of this feature being added mentioned in this thread?

Thanks Wayne

PRO
Synthiam
#18  

Still on the todo list - as mentioned, there's no timeline for this request. Stay tuned :D