FactoryTalk View ME - commas

whuff

Member
Join Date
Mar 2005
Location
Toledo, OH
Posts
17
I could use some help here, I am using FactoryTalk View ME 6.10 to make a version 5.10 panel. I am displaying values from a compactlogix L35 processor. The values being displayed are floating point. My boss, though, does not want decimals. Easy enough. BUT now wants comma's for values over 1000 (i.e. 1,000). Is there an easy way to format this? I am using a multistate indicator as I want to change the color based on the value (i.e. green between 0-100, 100-500 is yellow, over 500 red). Thanks in advance for any suggestions. So far, the only one is to convert everything to a string and format it that way but it will double the amount of time which we don't have.
 
BUT now wants comma's for values over 1000 (i.e. 1,000). Is there an easy way to format this?
No. Commas are a luxury, not a necessity for readibility. He is messing with your head. Tell him to go get a life!
 
No. Commas are a luxury, not a necessity for readibility. He is messing with your head. Tell him to go get a life!

:ROFLMAO: So says the retired man.

Seriously though, that is a pretty silly request. Since FTView doesn't have a built in function for this, the only option you have would be to convert the value to a string, parse into 3 digit groups, add commas, and concatenate the whole mess back together. A whole lot of work (and processor overhead!) for a purely superficial gain.

Tell your boss how you would do it. Try explaining to him how long it will take and how much it will slow down the processor. If he won't listen, what choice do you have?

Good luck to you.

Cheers,
Dustin

🍻
 

Similar Topics

Hello, I'm using FactoryTalk View ME V10. I created a valve as a global object with multiple parameters and when the object is being used at the...
Replies
2
Views
97
Hello all, I was modifying an HMI in factory talk and went to change a go to display button using the ... to select from a list as I had done...
Replies
1
Views
77
Hello, We recently upgraded our control server to a newer model. After the transition we are experiencing issues with our trend graphs to where...
Replies
2
Views
106
Hi, I wanted to ask is there a way to have a visibility expression use the IP address of the HMI (Dynics, not PV) to show certain elements? The...
Replies
3
Views
193
This is admittedly a pretty obscure problem, but maybe someone else has run into it, or at least something similar. For reasons I won't get into...
Replies
3
Views
126
Back
Top Bottom