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 all, I'm having trouble opening an application. After clicking open I'm prompted to login and after putting in username & password it...
Replies
0
Views
30
Has anyone found information on using the variable message file? I keep looking for documentation on how to implement the message file name as a...
Replies
0
Views
50
I have two identical machines running similar HMI projects, the only difference is one is done in FactoryTalk View Version 10 and the other is...
Replies
5
Views
223
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
144
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
4
Views
198
Back
Top Bottom