PDA

View Full Version : A little trouble with Girder



lesterjacobs
October 13th, 2002, 12:55 PM
Hello All,

I am having a little trouble with Girder and would appreciate some help if possible. I am using Girder to enable remote control of my TV and DVD programs. Specifically for TV startup, I want Girder to check whether the DVD program is running before running the TV (since they both use the same overlay) If the DVD is running then Girder would show an error message and not start the TV. The attachment shows my setup.

The Startup Multigroup is what I use to start the TV
In Reset Register I set reg1 to 0
In Check Overlay I do a Goto to the Check Overlay Use MultiGroup (explained later)
In MakeStartDecision I use Check Reg to goto ShowErrorMessage if reg1==1 or Launch ATI TV if reg1==0

The Check Overlay Use Multigroup does following
Uses Window Exists to check if PowerDVD window is present
If present set reg1 to 1 (the True command)
Otherwise just return using an explicit return.

I test this setup by first running PowerDVD. Leaving PowerDVD running I then test the Startup command. The first time through it works, showing the error message. The second time I test it, it starts the TV even though PowerDVD is still running. When it works, reg1 is equal to 1, which is expected since this is what the Check Overlay Use multigroup should set it to. When it doesn't work, reg1 is equal to 0. It's as if the Check Overlay Use multigroup never got executed.

Any ideas?


Thanks
Lester

lesterjacobs
October 13th, 2002, 12:55 PM
Ok , I solved it. Bit of a dumb mistake on my part. The "Check Overlay" command was set to have 2 states instead of one unintentionally.

Thanks anyway.

Cheers
Lester