Jump to content

Want to show seconds with no decimals on screen


Recommended Posts

I am working on a program where the customer wants to show seconds only on screen for a timer. Example instead of 4 hours the customer would want to show 14400 seconds. Using the timer on screen I only see the capability to wshow ss or SSSSSS.ss. Am i going to have to do this the hard way by converting standard MI data back and forth to a timer to be able to show this without the decimal places?

Thank You

Keith

Link to comment
Share on other sites

  • MVP 2023

For a request like that, I wouldn't even bother using a timer and all the needed conversion blocks. I'd make my own with SB 13, an INC block, and a GEQ block. Then you can give the customer whatever he wants. Unfortunately, standard functions do not meet 100% of all imagined control schemes.

Joe T.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.