It is currently April 26th, 2024, 10:00 am

UsageMonitor Disk Reads Indicators.

Get help with creating, editing & fixing problems with skins
ACEOWL
Posts: 4
Joined: January 20th, 2021, 12:54 pm

UsageMonitor Disk Reads Indicators.

Post by ACEOWL »

Hi
I downloaded a skin from Brax64 and changed the skin a little. I added 2 HDDs. But now I have the problem that the activity (LED) is only set on my first HDD, but I want the LEDs to light up for each individual hard drive. So when my first HDD has an activity all points light up
I searched the internet a little but found nothing. I hope one of you can help me

Image

This is for my Second HDD

Code: Select all

[2BlinkR]
Measure=Calc
Formula=(BlinkR+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[2BlinkW]
Measure=Calc
Formula=(BlinkW+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[2DriveRead]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Reads/sec
Name=#HH#:
IfCondition=DriveRead > 0
IfTrueAction=[#EM# 2BlinkR][#SO# 2ReadLight Text #T6#][#SO# 2ReadLight FontColor #GruvyBlue#,(120+(135*[*2BlinkR:*]))][#UMT# 2ReadLight][#RD#]
IfFalseAction=[#DM# 2BlinkR][#SO# 2ReadLight Text #T5#][#SO# 2ReadLight FontColor #GruvyBlue#,80][#UMT# 2ReadLight][#RD#]

[2DriveWrite]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Writes/sec
Name=#HH#:
IfCondition=DriveWrite > 0
IfTrueAction=[#EM# 2BlinkW][#SO# 2WriteLight Text #T6#][#SO# 2WriteLight FontColor #GruvyPink#,(120+(135*[*2BlinkW:*]))][#UMT# 2WriteLight][#RD#]
IfFalseAction=[#DM# 2BlinkW][#SO# 2WriteLight Text #T5#][#SO# 2WriteLight FontColor #GruvyPink#,80][#UMT# 2WriteLight][#RD#]

[2ReadLight]
Meter=String
FontFace=#ff2#
FontSize=13
AntiAlias=1
DynamicVariables=1
UpdateDivider=1
X=246
Y=486

[2WriteLight]
Meter=String
FontFace=#ff2#
FontSize=13
AntiAlias=1
DynamicVariables=1
UpdateDivider=1
X=r
Y=17r

And this my First HDD

Code: Select all

[BlinkR]
Measure=Calc
Formula=(BlinkR+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[BlinkW]
Measure=Calc
Formula=(BlinkW+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[DriveRead]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Reads/sec
Name=#DD#:
IfCondition=DriveRead > 0
IfTrueAction=[#EM# BlinkR][#SO# ReadLight Text #T6#][#SO# ReadLight FontColor #GruvyBlue#,(120+(135*[*BlinkR:*]))][#UMT# ReadLight][#RD#]
IfFalseAction=[#DM# BlinkR][#SO# ReadLight Text #T5#][#SO# ReadLight FontColor #GruvyBlue#,80][#UMT# ReadLight][#RD#]

[DriveWrite]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Writes/sec
Name=#DD#:
IfCondition=DriveWrite > 0
IfTrueAction=[#EM# BlinkW][#SO# WriteLight Text #T6#][#SO# WriteLight FontColor #GruvyPink#,(120+(135*[*BlinkW:*]))][#UMT# WriteLight][#RD#]
IfFalseAction=[#DM# BlinkW][#SO# WriteLight Text #T5#][#SO# WriteLight FontColor #GruvyPink#,80][#UMT# WriteLight][#RD#]

[ReadLight]
Meter=String
FontFace=#ff2#
FontSize=13
AntiAlias=1
DynamicVariables=1
UpdateDivider=1
X=246
Y=443
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: UsageMonitor Disk Reads Indicators.

Post by CyberTheWorm »

for the second drive you need to change

Code: Select all

IfCondition=DriveRead > 0
to

Code: Select all

IfCondition=2DriveRead > 0
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
ACEOWL
Posts: 4
Joined: January 20th, 2021, 12:54 pm

Re: UsageMonitor Disk Reads Indicators.

Post by ACEOWL »

CyberTheWorm wrote: January 20th, 2021, 5:53 pm for the second drive you need to change

Code: Select all

IfCondition=DriveRead > 0
to

Code: Select all

IfCondition=2DriveRead > 0
When i doo this the Dots are invisible and dont work
Image
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: UsageMonitor Disk Reads Indicators.

Post by CyberTheWorm »

Best thing to do would be to post the skin in a .rmskin file so we can see everything

I missed this too for just he second drive, same thing for the other post, just for the second drive

Code: Select all

IfCondition=DriveWrite > 0
should be

Code: Select all

IfCondition=2DriveWrite > 0
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
ACEOWL
Posts: 4
Joined: January 20th, 2021, 12:54 pm

Re: UsageMonitor Disk Reads Indicators.

Post by ACEOWL »

CyberTheWorm wrote: January 20th, 2021, 8:20 pm Best thing to do would be to post the skin in a .rmskin file so we can see everything

I missed this too for just he second drive, same thing for the other post, just for the second drive

Code: Select all

IfCondition=DriveWrite > 0
should be

Code: Select all

IfCondition=2DriveWrite > 0
https://files.fm/f/5u8hdbpbe
User avatar
xenium
Posts: 867
Joined: January 4th, 2018, 9:52 pm

Re: UsageMonitor Disk Reads Indicators.

Post by xenium »

ACEOWL wrote: January 20th, 2021, 1:06 pm Hi
I downloaded a skin from Brax64 and changed the skin a little. I added 2 HDDs. But now I have the problem that the activity (LED) is only set on my first HDD, but I want the LEDs to light up for each individual hard drive. So when my first HDD has an activity all points light up
I searched the internet a little but found nothing. I hope one of you can help me

Image

This is for my Second HDD

Code: Select all

[2BlinkR]
Measure=Calc
Formula=(BlinkR+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[2BlinkW]
Measure=Calc
Formula=(BlinkW+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[2DriveRead]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Reads/sec
Name=#HH#:
IfCondition=DriveRead > 0
IfTrueAction=[#EM# 2BlinkR][#SO# 2ReadLight Text #T6#][#SO# 2ReadLight FontColor #GruvyBlue#,(120+(135*[*2BlinkR:*]))][#UMT# 2ReadLight][#RD#]
IfFalseAction=[#DM# 2BlinkR][#SO# 2ReadLight Text #T5#][#SO# 2ReadLight FontColor #GruvyBlue#,80][#UMT# 2ReadLight][#RD#]

[2DriveWrite]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Writes/sec
Name=#HH#:
IfCondition=DriveWrite > 0
IfTrueAction=[#EM# 2BlinkW][#SO# 2WriteLight Text #T6#][#SO# 2WriteLight FontColor #GruvyPink#,(120+(135*[*2BlinkW:*]))][#UMT# 2WriteLight][#RD#]
IfFalseAction=[#DM# 2BlinkW][#SO# 2WriteLight Text #T5#][#SO# 2WriteLight FontColor #GruvyPink#,80][#UMT# 2WriteLight][#RD#]

[2ReadLight]
Meter=String
FontFace=#ff2#
FontSize=13
AntiAlias=1
DynamicVariables=1
UpdateDivider=1
X=246
Y=486

[2WriteLight]
Meter=String
FontFace=#ff2#
FontSize=13
AntiAlias=1
DynamicVariables=1
UpdateDivider=1
X=r
Y=17r

And this my First HDD

Code: Select all

[BlinkR]
Measure=Calc
Formula=(BlinkR+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[BlinkW]
Measure=Calc
Formula=(BlinkW+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[DriveRead]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Reads/sec
Name=#DD#:
IfCondition=DriveRead > 0
IfTrueAction=[#EM# BlinkR][#SO# ReadLight Text #T6#][#SO# ReadLight FontColor #GruvyBlue#,(120+(135*[*BlinkR:*]))][#UMT# ReadLight][#RD#]
IfFalseAction=[#DM# BlinkR][#SO# ReadLight Text #T5#][#SO# ReadLight FontColor #GruvyBlue#,80][#UMT# ReadLight][#RD#]

[DriveWrite]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Writes/sec
Name=#DD#:
IfCondition=DriveWrite > 0
IfTrueAction=[#EM# BlinkW][#SO# WriteLight Text #T6#][#SO# WriteLight FontColor #GruvyPink#,(120+(135*[*BlinkW:*]))][#UMT# WriteLight][#RD#]
IfFalseAction=[#DM# BlinkW][#SO# WriteLight Text #T5#][#SO# WriteLight FontColor #GruvyPink#,80][#UMT# WriteLight][#RD#]

[ReadLight]
Meter=String
FontFace=#ff2#
FontSize=13
AntiAlias=1
DynamicVariables=1
UpdateDivider=1
X=246
Y=443
Replace the code for HDD2 with the code below:

Code: Select all

[2BlinkR]
Measure=Calc
Formula=(2BlinkR+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[2BlinkW]
Measure=Calc
Formula=(2BlinkW+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[DriveRead2]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Reads/sec
Name=#HH#:
IfCondition=DriveRead2 > 0
IfTrueAction=[#EM# 2BlinkR][#SO# 2ReadLight Text #T6#][#SO# 2ReadLight FontColor #GruvyBlue#,(120+(135*[*2BlinkR:*]))][#UMT# 2ReadLight][#RD#]
IfFalseAction=[#DM# 2BlinkR][#SO# 2ReadLight Text #T5#][#SO# 2ReadLight FontColor #GruvyBlue#,80][#UMT# 2ReadLight][#RD#]

[DriveWrite2]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Writes/sec
Name=#HH#:
IfCondition=DriveWrite2 > 0
IfTrueAction=[#EM# 2BlinkW][#SO# 2WriteLight Text #T6#][#SO# 2WriteLight FontColor #GruvyPink#,(120+(135*[*2BlinkW:*]))][#UMT# 2WriteLight][#RD#]
IfFalseAction=[#DM# 2BlinkW][#SO# 2WriteLight Text #T5#][#SO# 2WriteLight FontColor #GruvyPink#,80][#UMT# 2WriteLight][#RD#]

[2ReadLight]
Meter=String
FontFace=#ff2#
FontSize=13
AntiAlias=1
DynamicVariables=1
UpdateDivider=1
X=246
Y=486

[2WriteLight]
Meter=String
FontFace=#ff2#
FontSize=13
AntiAlias=1
DynamicVariables=1
UpdateDivider=1
X=r
Y=17r

I renamed 2DriveRead and 2DriveWrite: DriveRead2 and DriveWrite2 because 2 in front of Drive gives error in Log (Internal error: IfCondition = 2DriveRead> 0 and Internal error: IfCondition = 2DriveWrite> 0)
I also changed the Formula to [2BlinkR] and [2BlinkW]:
Formula=(2BlinkR + 1)% 2
Formula=(2BlinkW + 1)% 2


Do the same for HDD3:
1DriveRead and 1DriveWrite (change with DriveRead1 and DriveWrite1)
ACEOWL
Posts: 4
Joined: January 20th, 2021, 12:54 pm

Re: UsageMonitor Disk Reads Indicators.

Post by ACEOWL »

xenium wrote: January 20th, 2021, 10:21 pm Replace the code for HDD2 with the code below:

Code: Select all

[2BlinkR]
Measure=Calc
Formula=(2BlinkR+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[2BlinkW]
Measure=Calc
Formula=(2BlinkW+1)%2
DynamicVariables=1
UpdateDivider=1
Disabled=1

[DriveRead2]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Reads/sec
Name=#HH#:
IfCondition=DriveRead2 > 0
IfTrueAction=[#EM# 2BlinkR][#SO# 2ReadLight Text #T6#][#SO# 2ReadLight FontColor #GruvyBlue#,(120+(135*[*2BlinkR:*]))][#UMT# 2ReadLight][#RD#]
IfFalseAction=[#DM# 2BlinkR][#SO# 2ReadLight Text #T5#][#SO# 2ReadLight FontColor #GruvyBlue#,80][#UMT# 2ReadLight][#RD#]

[DriveWrite2]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Writes/sec
Name=#HH#:
IfCondition=DriveWrite2 > 0
IfTrueAction=[#EM# 2BlinkW][#SO# 2WriteLight Text #T6#][#SO# 2WriteLight FontColor #GruvyPink#,(120+(135*[*2BlinkW:*]))][#UMT# 2WriteLight][#RD#]
IfFalseAction=[#DM# 2BlinkW][#SO# 2WriteLight Text #T5#][#SO# 2WriteLight FontColor #GruvyPink#,80][#UMT# 2WriteLight][#RD#]

[2ReadLight]
Meter=String
FontFace=#ff2#
FontSize=13
AntiAlias=1
DynamicVariables=1
UpdateDivider=1
X=246
Y=486

[2WriteLight]
Meter=String
FontFace=#ff2#
FontSize=13
AntiAlias=1
DynamicVariables=1
UpdateDivider=1
X=r
Y=17r

I renamed 2DriveRead and 2DriveWrite: DriveRead2 and DriveWrite2 because 2 in front of Drive gives error in Log (Internal error: IfCondition = 2DriveRead> 0 and Internal error: IfCondition = 2DriveWrite> 0)
I also changed the Formula to [2BlinkR] and [2BlinkW]:
Formula=(2BlinkR + 1)% 2
Formula=(2BlinkW + 1)% 2


Do the same for HDD3:
1DriveRead and 1DriveWrite (change with DriveRead1 and DriveWrite1)
Tank You :)