Welcome, Guest
Please Login or Register.    Lost Password?

Creating a string meter based on multiple measures
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Creating a string meter based on multiple measures
#9263
Creating a string meter based on multiple measures 5 Years, 1 Month ago  
Hi. I'm wondering if there is a way to create a string meter made up of values from different meters. For example.

[MeasureCPU]
Measure=CPU

[MeasureRAM]
Measure=PhysicalMemory

Is there a way to create a string like "CPU is and RAM is "

I don't want to create multiple string since I cannot align center then.
periferral
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9270
Re:Creating a string meter based on multiple measures 5 Years, 1 Month ago  
Yes it's possible. An example:

[Meter.CPU_RAM]
MeasureName=CPU
MeasureName2=PhysicalMemory
Meter=STRING
Text="CPU is %1 and RAM is %2"
Arne Anka
Varför kan jag inte hålla min glappa käft i styr?
Expert Boarder
Posts: 131
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Denmark Birthday: 01/17
The administrator has disabled public write access.
Livet är bara en period man ska överleva.
Som filosoferna säger: man föds, man lever och man dör ensam...

 
#9272
Re:Creating a string meter based on multiple measures 5 Years, 1 Month ago  
thanks for the reply. It works great. On a similar note however, is it possible to have a multi-line text output?

Text="CPU is %1
RAM is %2"

I have tried using \n, and a the example and none of them work. Any suggestions are much appreciated.
periferral
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop