PDA

View Full Version : Easy quick question (I think)



iamnaeth
October 28th, 2004, 05:47 AM
Hey all, before we start a little disclaimer, I'm not going to say I'm a Girder Expert, but I was able to get it fully functioning on my HTPC. That said, I tried to get a simple little concept working on my Aarcade PC and I ran into a little snag.

Here is what I want it to do. When I turn my PC on, send the IR command to turn the TV on. When I turn my PC off, send the same IR command to turn the TV off.

What I couldn't figure out is how to inform the computer of the events, such as power on or power off. In addition, It doesn't really need to those events specifically. I run a program on the arcade that boots up every time so it could be the trigger. Such as, when this program opens, turn TV on, when this program exits, turn TV off. However, I couldn't figure out how to send IR commands on windows events. Any help would be greatly appreciated, thanks.

Treetop
October 28th, 2004, 07:25 AM
You could learn the events as "GirderOpen" and GirderClose". This way the command will fire when girder loads/exits (ie PC turns on/off).

Top left, drop-down menu. Select GirderEvents. Learn. Choose event from pop-up box.

The problem I see when trying to use another program as the trigger, as you described above, would be if the program loads before girder (or on shutdown, girder closes first). You could try it, though. Take a look at the taskcreate plug-in.

Just a couple of ideas,
Treetop

iamnaeth
October 28th, 2004, 10:53 AM
I see what your saying and I agree fully. I think a solution where whenever girder is first loaded it sends a command to turn the TV on and whenever girder is exited the off command is sent. How do I make girder do this? Is it as simple as having two commands, GirderOpen and GirderClose?

Treetop
October 28th, 2004, 11:18 AM
The command would be the tv's IR code. The event (trigger) would be GirderOpen/Close.

What IR transceiver do you have?

iamnaeth
October 28th, 2004, 11:29 AM
USBUIRT. I already have the IR code learned and when I test transmit it it works. I was just confused by the events.

Treetop
October 28th, 2004, 11:35 AM
Cool.

To learn the event. Highlight the command. Now, in the top left, drop-down menu Select GirderEvent. Click on "Learn". Choose the event from pop-up box's drop-down menu - GriderOpen. Hit select. Now your all done. You can also learn the GirderClose event to the same IR command.

TV Power, IR Code (command)
--GirderOpen (event)
--GirderClose (event)

Treetop

iamnaeth
October 28th, 2004, 11:50 AM
Would that be a multicommand or a command?

Treetop
October 28th, 2004, 11:53 AM
Thats just a single command. You can attach it to a multi-group too, though. I use the GirderOpen as a trigger for a multi-group, as It does several things for me, when it first loads.