View Full Version : Common Routines Plus Different Hardware
jsonnabend
November 7th, 2006, 02:33 PM
Man, I hope this makes sense. I started to search, but couldn't figure out what to search for.
I have two HTPC setups that are essentially identical as far as software but differ slightly in hardware. In particular, the TV sets are different, and so the codes I send from Girder via USB-UIRT to turn them on and off are different.
What's the best way to set up Girder so that any changes to the common routines are shared by both systems but not the hardware specific girder code?
TIA
- Jeff
Promixis
November 7th, 2006, 04:33 PM
There are a couple of ways of doing this.
Just so I understand, the main thing is you are going to be sending different IR codes to your TV... correct?
If that is the case you could have 2 Groups of commands that are identical... ie contain the same set of commands (with diff ir codes) and same triggers. You would just disable one group or the other depending on the TV.
jsonnabend
November 7th, 2006, 05:10 PM
There are a couple of ways of doing this.
Just so I understand, the main thing is you are going to be sending different IR codes to your TV... correct?
If that is the case you could have 2 Groups of commands that are identical... ie contain the same set of commands (with diff ir codes) and same triggers. You would just disable one group or the other depending on the TV.
That's what I was doing at first. Now I have two GML's, one called "common" and one called "local". The "local" GML actually differs from one machine to the other. The event (i.e., the power button on the remote) is in the "common" gml, and it gosub's to a routine in the "local" GML to send the IR commands. The "local" GML's are actually different on each machine, but have identical structures.
I'm hoping that by doing it this way, I can just sync the "common" GML's and won't have to enable or disable anything. If this doesn't work, I'll go back to the enable/disable approach.
- Jeff
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.