There are more issues with the posted formula:eg:
DiskNorm=255,255,255,180
FontColor=(((m#CURRENTSECTION#DiskRead=0)&&(m#CURRENTSECTION#DiskWrite=0))=0 ? #DiskNorm# : 0)
The zero at the end of the condition will be where I add the other conditions if I can.
- A mathematical formula, used anywhere (in a Formula option of a Calc measure, in an IfCondition or into an any option, as you did) has to be ENTIRELY NUMERIC. Your DiskNorm variable (in fact any variable storing a color) is a string, even if it contains four numbers (besides the numbers, it has three commas, which are not allowed into numbers).
- Besides this, even if the formula wouldn't return a string but a number and it could work by this, the formula itself has a condition check which doesn't make sense. This is what am I talking about: FontColor=(((m#CURRENTSECTION#DiskRead=0)&&(m#CURRENTSECTION#DiskWrite=0))=0 ? #DiskNorm# : 0). The red colored =0 doesn't match in the mathematical formula.
- Finally, the numerical values returned by measures can be used simply only in Formula options of Calc measures and in IfConditions. Outside of these options you have to use them as section variables (this requires to add the DynamicVariables=1 option to the meter - or measure, why not? - where you want to use it). So not taking into account the previously mentioned issues, the above FontColor should contain those brackets, delimiting the section variables: FontColor=((([m#CURRENTSECTION#DiskRead]=0)&&([m#CURRENTSECTION#DiskWrite]=0))=0 ? #DiskNorm# : 0) and the meter should contain the DynamicVariables=1 option.
- One more thing you definitely should take care of: the name of the meter in which you want to use this FontColor option should be the one you have used in the names of the mXXXDiskRead and mXXXDiskWrite measures (I assume it should be for instance C, to get the mCDiskRead and mCDiskWrite measure names).
Let's stop here for first. I don't go further with the question posted into your second post. I think for first we should fix the first issue, only then we should go further.
Statistics: Posted by balala — Yesterday, 7:53 pm