DC/MES - Simple Real Time Digital Clock at top - Anybody figure this out yet?

All,

I had installed a pretty “crappy” Edge extension that shows a realtime clock in the Toolbar of Edge, but we aren’t very happy with it for the MES screen (it works, but blah).

Has anybody created/developed a Realtime clock that shows on the Main MES screen that they can share with us? No interaction on the clock, we need to simply display it.

We’d like it to show either near the Login or to the right of the “time” that shows on the MES already that shows punch information… I’ve asked this here before, but have gotten little traction.

TIA for your thoughts/help.

Here is a screenshot of the top of the MES/DC screen where we would like to put it.

2 Likes

This probably isn’t the best way, but you could drop a website widget in and point it to something like Free Clocks for Your Website If you don’t need anything fancy that might be enough.

2 Likes

You can use those URLs to add a webapp to the layout. But you can’t set the font size.
I lied! Just paste the generated URL into a webapp on the layout, customize the font size with the last term in the URL.
Cool!!

3 Likes

That’s true, I just plucked the url out of the html they provide once you’ve picked a clock type. But if basic real time digital clock is all you need, might be good enough.

1 Like

They don’t see the widgets, they go right to the screen shown in the JPG - MES users, don’t have access to the home screens, etc.

The Application Studio has a Website Widgit Control in the toolbox. You may try using the website above with this tool. I couldn’t get it to work, but I can’t get anything in Kinetic to work. :roll_eyes:

2 Likes

I believe we tried this, but I will check and get back to you on this.

Put MES on a tablet and the tablet will always display the clock in the top, although quite small

1 Like

This would be about the same as our URL clock extension does in the browser now… MES tablets is not an option for us… we rejected that option, for our situation, on the various plant floors and have workstations set up.

I’ve included a snapshot of our MES screen that shows the extension, it’s okay - they can click on it and it does expand, but, if possible, we’d like a better situation with the real time clock display embedded in the MES screen itself.

I guess I should add the the MES stations are locked down and doesn’t show the Windows taskbar either (we use securelock, it’s amazing if anybody is looking for that solution).

CurrentTimeMES
There’s some play with displaying the current time baq constant. Calling the baq every 1 second like I’m doing here might be overkill..

1 Like

Interesting, I think we would maybe pull it every 15 or 30 seconds. What are you using get that into the MES screen in the first place?

This is actually super simple to do without doing a server side call (BAQ) if you do a server side call you can quickly overwhelm the server. I didn’t have time to put it in Data Collection but the process is the same.

LiveTime

  1. Add a field to TransView (or equivalent) I called mine CurrentTime
  2. The Draw your TextBox where you want it and bind it to TransView.CurrentTime give it the name of txtCurrentTime
  3. New Event → On Control Created → txtCurrentTime
  • Update Row Set TransView.CurrentTime to Expression
'#_new Date().toLocaleString()_#'
  • Add To the Same event Set Dashboard Timer Interval 1 Second Event UpdateClock
  1. Create UpdateClock event no trigger
  • Action Update Row Set TransView.CurrentTime to Expression
'#_new Date().toLocaleString()_#'
9 Likes

These are excellent ideas. Thank you. I will give these a try and let you all know how it goes.

Thank you! This solution was definitely what we were looking for.

2 Likes

Thank you, this was it! → Solution.

2 Likes

Jose,

We can’t seem to find a way to remove the responsive icons for the clock and calendar app studio elements. Do you have any idea where that could be? The icons always look like they are in the wrong spot, or cover over text, depending on the screen size. See image.

TIA