PDA

View Full Version : Problems with alternating codes



Ron
October 13th, 2002, 12:55 PM
I'm not quite sure but this sounds like a timing issue. Let me explain:

The SFH plugin is a polling plugin that means it records the value of the comport every X milliseconds. This all goes well as long as Girder is the foreground window, and thus has a high priority. However when Girder goes to the background this priority is lost and the plugin might not be able to check every X seconds, thus loosing input signals and thus detecting a different code.

Possible sollution: Increase priority of the SFH-56 plugin. If this fails contact Igor, If it works report back so others can benifit from this thread.

-Ron

Ron
October 13th, 2002, 12:55 PM
Not that hard, but disturbing any way. Maybe a more powerful CPU will help?!

Not likely, it will still jump if the plugin is in ring0, but if you have more power CPU you probably won't have to put it in ring0, so that _might_ solve the problem.

cesko
October 13th, 2002, 12:55 PM
Try to switch on Ring0 priority in SFH plugin settings.
My plugin works: it sleeps and is awaked only when is some change on COM port - then it is polling the port. Ring0 priority means, that during polling no other application interrupt my polling (works only in Win9x/ME).

Igor



On 2002-03-24 17:23, WillO42 wrote:
Hi,

I've got an annoying problem here. I will try to describe it in my weird english /phpBB/images/smiles/icon_wink.gif

First, I am using Girder 3.1 beta 16, the SFH56-Plugin and a self made IR-Receiver (from german c't-magazine). OS is WinME.

I've downloaded the winamp exported group and started learning. Everything okay.

Now the strange thing: Whenever Girder is not the foreground window, repeated usage of any (!) button generates a new code, as shown by Girder. After shutting down and restarting Girder the codes are not changing and alright, just as long as another application gets the focus.

To activate an event I've got to hit the same button mostly four to five times, sometimes even more often.

Any ideas what's causing the problems? Girder, Winamp, Windows, the receiver, the plugin, the RC, ...?

I've tested 6 different RC. Same with all of them.

Hope someone can help.

Bye,

WillO42

WillO42
October 13th, 2002, 12:55 PM
Hi,

I've got an annoying problem here. I will try to describe it in my weird english :wink:

First, I am using Girder 3.1 beta 16, the SFH56-Plugin and a self made IR-Receiver (from german c't-magazine). OS is WinME.

I've downloaded the winamp exported group and started learning. Everything okay.

Now the strange thing: Whenever Girder is not the foreground window, repeated usage of any (!) button generates a new code, as shown by Girder. After shutting down and restarting Girder the codes are not changing and alright, just as long as another application gets the focus.

To activate an event I've got to hit the same button mostly four to five times, sometimes even more often.

Any ideas what's causing the problems? Girder, Winamp, Windows, the receiver, the plugin, the RC, ...?

I've tested 6 different RC. Same with all of them.

Hope someone can help.

Bye,

WillO42

WillO42
October 13th, 2002, 12:55 PM
Hi,

setting the option "Ring0" seems to work so far.

The only disadvantage: Winamp and the like stop playing whenever a signal is received, even from TV (boy, this receiver is kind of sensitive :smile:

Not that hard, but disturbing any way. Maybe a more powerful CPU will help?!

Bye,

WillO42

Koney
October 13th, 2002, 12:55 PM
Can you sen me plane for IR reciever that you have build? ThX