Your Universal Remote Control Center
RemoteCentral.com
RTI Control Systems Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Using flags to control IR output port?
This thread has 4 replies. Displaying all posts.
Post 1 made on Monday March 8, 2010 at 20:30
KRJ
Long Time Member
Joined:
Posts:
March 2010
10
Hi ... new poster, frequent lurker. Thanks for all the help in the past, guys.

I could use some assistance. I'm trying to reduce the number of pages in my program by having TV channel selection pages (the ones with icons for CNN, etc.) send the relevant IR codes to an output port on the RP-6 that corresponds to the previously selected source (one of several DVRs).

Here's what I'm trying to do ...

On the home page, I have a button called "TV1" that does the following
1. turns on the TV (with LOCAL/Standalone IR)
2. sends an RF signal to the RP6, to control a video switch, selecting the source TV1 to go to the TV I am watching
3. sets a flag (TV1 selected)
4. transitions to a channel selection page

On the channel selection page
1. each button on that page corresponds to a different TV channel (e.g., CNN 202)
2. each such button would output the IR code for CNN , but choose the port based on the setting of a flag ...
2a. If TV1 is selected, the macro should output to port 1
2b. If TV2 is selected, the macro should output to port 2

The problem is that the flag set by the first button ("TV1") is not visible to the channel button because the "TV1" button is a LOCAL IR output and the channel button (CNN) uses RF to the RP-6 to send the IR command to a satellite receiver near the RP-6. In short, I don't seem to be able to share flags between a button with local IR and a button with RF output.

I might be able to fake it with a hidden button that does nothing more than issue the local commands and then goes to the channel selection page that uses RF commands. But then I get stuck again ....

The Page Link option comes close, but what I want is to be able to transition to and INVOKE another specific button on a given page, not just go to a page and let the user push the button.

Does anyone have a tip on how to re-use a channel selection page so that it will output IR codes on a port corresponding to a user-selected video source, so as to avoid having duplicate very similar and memory-consuming pages?

Thanks!

Forgot to mention that I have TC-2s as the remotes ...

Last edited by KRJ on March 8, 2010 20:53.
Post 2 made on Tuesday March 9, 2010 at 00:16
Timber
Long Time Member
Joined:
Posts:
November 2004
156
Why not just copy the page and change the IR routing?

If you make a system macro for each channel on the RP6, then you can do a local flag test and a system macro for the result w/ the system channel macro

You could also try this- set a system macro to set a RP6 flag and add that macro to your standalone button. Now your system flag is set.
OP | Post 3 made on Tuesday March 9, 2010 at 02:37
KRJ
Long Time Member
Joined:
Posts:
March 2010
10
Why not copy? It's a pain to have, say, three sets of ten pages of channels. Especially withe multiple remotes. And especiallly if I want to add or change a channel on each!

But I think the idea of putting the channel changers on the RP6 is a good one. Then I can have one page of channel buttons that tests a flag to invoke the system macro for TV1 or TV2 etc. That page is stand alone so it can share flags with other buttons on the device.

I guess I have been under using the system macros!

Thanks
Post 4 made on Tuesday March 9, 2010 at 02:47
davenport
Senior Member
Joined:
Posts:
October 2006
1,361
On March 9, 2010 at 02:37, KRJ said...
I guess I have been under using the system macros!

Yes, most of your macros and flags should be on the control processor. You need to use a flags.

Last edited by davenport on March 9, 2010 13:46.
Post 5 made on Tuesday March 9, 2010 at 19:25
anyhomeneeds
Super Member
Joined:
Posts:
December 2007
4,149
Let me see if I understand you:
1. You are a DIY'er.
2. You have gotten ahold of the software.
3. You are programming it yourself without taking any of the training classes.
4. You do have experience programming your old Pronto.
"You can't fix stupid."


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse