do you someone know how to change the refresh interval of a Plugin from an user config?(the perf plugin does that)
i think i have to update the Return of GetMinRefreshInterval() function but i can't do that for some strange reason.
i program in vb.net
bye
Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
refresh interval
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo
-
- Posts: 71
- Joined: November 18th, 2007, 6:11 pm
- Location: Bariloche, Argentina
- Contact:
-
- Forum Supporter
- Posts: 734
- Joined: October 15th, 2005, 10:39 am
- Location: Romania
- Contact:
-
- Posts: 71
- Joined: November 18th, 2007, 6:11 pm
- Location: Bariloche, Argentina
- Contact:
-
- Forum Supporter
- Posts: 734
- Joined: October 15th, 2005, 10:39 am
- Location: Romania
- Contact:
yes, any value higher than 300 will work.
This is how it looks like in Delphi. I'm sure you will adapt it to your needs.
Found it for vb.net too:
This is how it looks like in Delphi. I'm sure you will adapt it to your needs.
Code: Select all
// Define the minimum interval that a screen should get fresh data from our
// plugin.
// The actual value used by Smartie will be the higher of this value and
// of the 'dll check interval' setting
// on the Misc tab. [This function is optional, Smartie will assume
// 300ms if it is not provided.]
Function GetMinRefreshInterval: Integer; stdcall;
begin
result := 300; // 300 ms
end;
' Define the minimum interval that a screen should get fresh data from our plugin.
' The actual value used by Smartie will be the higher of this value and of the "dll check interval" setting
' on the Misc tab. [This function is optional, Smartie will assume 300ms if it is not provided.]
'
Public Function GetMinRefreshInterval() As Integer
Return 300 ' 300 ms (around 3 times a second)
End Function