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

Login:
Pass:
 
 

Page 2 of 2
Topic:
MX900 now with variables
This thread has 28 replies. Displaying posts 16 through 29.
Post 16 made on Thursday May 29, 2008 at 15:44
milo
Long Time Member
Joined:
Posts:
April 2007
61
I agree with Dale, variables really shouldn't be used for power status of toads regardless of the person programming the remote. There are just too many things that can (and most likely will) go wrong.

I believe most of the "self" programmer might make this mistake. Personally I wouldn't use variables for power status unless you also build a "help" screen to get the variables back on track when they get out of sync. Without this, the variables could cause more harm then good.
Post 17 made on Thursday May 29, 2008 at 15:49
Jimmy Bellagio
Advanced Member
Joined:
Posts:
January 2008
854
The bottom line:

Variables allow the remote buttons to have different outcomes based on what the user has pressed already. Although not 100% bullet-proof, they offer another dimension in programming and creativity which can enhance the user's experience.
James S. Bellagio
Post 18 made on Thursday May 29, 2008 at 17:16
Surf Remote
Loyal Member
Joined:
Posts:
July 2001
5,958
Again, I don't recommend using Power varaibles for customers or even your own home if there are multiple users. In those cases, the "Help" screen is the way to go.

However, for example, I have a dedicated theater room where only I use the remote. There used to be 3 TOADs in that room and before the MSC-400 came out to solve that problem, using Power variables with an MX-3000 was extremely valuable. Not once in the years I used that combo did it miss a variable command. Of course, I was the only one using it and with RF there was no chance of a signal being blocked. The projector I had at that time was a TOAD and the last thing you want to do by accident is turn off a projector (since you have to wait to turn it back on again) or even worse, accidently turn it on when it's only been off a short time. Using Power varaibles enabled me to have worry-free activity macros while keeping the Power commands easily available if something went wrong.

Fortunately, with the MSC-400 and the widespread availability of discretes these days, I no longer program Power varaibles. ;-)

Last edited by Surf Remote on May 29, 2008 17:41.
www.SurfRemoteControl.com

THX-certified video calibrator and contributing writer, ProjectorReviews.com
Post 19 made on Thursday May 29, 2008 at 22:19
Hoggy46
Long Time Member
Joined:
Posts:
October 2007
221
I use variable for toads all the time, but never to ensure the device is on is they key for me.

Example: You have a DVD player with no discrete on, but play turns it on. Create a variable, let call it "DVDpower". Now assign "DVDpower=1" to any macro that turns the dvd player on plus any other way the client can turn the DVD player on from the remote. You can now base your power command on the variable "DVDpower". The device may not turn off correctly if it gets out of sync but the customer will never have a non operational system.

I also use variables for diplays power tracking. That way I can remove longer delays for power on sequences when they aren't needed. But in this case, the customer can always press "ON" to the turn the system on if a command gets missed and pressing the device button will then switch inputs regardless of variable state.
Post 20 made on Friday May 30, 2008 at 17:47
Matt
Founding Member
Joined:
Posts:
August 2001
1,802
On May 29, 2008 at 22:19, Hoggy46 said...
I use variable for toads all the time, but never to ensure
the device is on is they key for me.


Example: You have a DVD player with no discrete on, but
play turns it on. Create a variable, let call it "DVDpower".
Now assign "DVDpower=1" to any macro that turns the dvd
player on plus any other way the client can turn the DVD
player on from the remote. You can now base your power
command on the variable "DVDpower". The device may not
turn off correctly if it gets out of sync but the customer
will never have a non operational system.

I also use variables for diplays power tracking. That
way I can remove longer delays for power on sequences
when they aren't needed. But in this case, the customer
can always press "ON" to the turn the system on if a command
gets missed and pressing the device button will then switch
inputs regardless of variable state.

Instead of wasting a variable for that, why not just use play for power on, all the time then, you don't want the DVD to go into play if it's already on? Also, if you want correct power off then you could do the PLAY command, and then the proper time later (after the DVD spins up or whatever), do POWER, that will shut it down.

Assuming your display has discrete power commands, otherwise your problem is the same. Thankfully, the TOADs are disappearing faster every year!

But yes, power state tracking with discrete power capable devices and the addition of the variable function is uber powerful.

I like the other suggestions, modal operation IE babysitter mode etc. cleaver ideas guys...and old codger like me could use a fresh idea or 1,000!
Post 21 made on Friday May 30, 2008 at 18:04
Darnitol
Universal Remote Control Inc.
Joined:
Posts:
June 1999
2,058
And don't forget that by nesting macros, you can actually get those 8 variables to track up to 256 independent states intead of only 8. If "variableA = 1" means that the DVD player is on, then sure, one variable represents one state. But if you do THIS:

variableA = 1
variableB = 0
variableC = 0
variableD = 0
variableE = 0
variableF = 0
variableG = 0
variableH = 0

...and if THAT means that the DVD player is ON, then instead of tracking 8 states, you can track 256. Yes, the macros are a bear to write and nest, but it can be done. And of course, you could use less than eight variables in this manner to track fewer states, which makes the macros easier to write and nest. For example, four variables together would track 16 independent states, and you'd still have four variables left over for other stuff.

Best regards and um... have fun with this one. :D

Dale
I'm a member of the Remote Central community, just like you! My comments here are my own, and in no way express the opinions, policies, or plans of Universal Remote Control, Inc.
Post 22 made on Friday May 30, 2008 at 19:30
Daniel Tonks
Wrangler of Remotes
Joined:
Posts:
October 1998
28,766
Dale, I think we'll let YOU be the first to come up with a functional 256-tracking configuration! :-)
Post 23 made on Friday May 30, 2008 at 23:52
Darnitol
Universal Remote Control Inc.
Joined:
Posts:
June 1999
2,058
I guess that technically, it should be possible to set up a device file with nested macros that serve as a variable tracker. You'd then need to nest the included macros into your own macros to make the state tracking work.

I dunno. I might try it. Or maybe I'll bug Bracken Baker and see if I can talk him into it. He's a much, much better programmer than I am.

Best regards,
Dale
I'm a member of the Remote Central community, just like you! My comments here are my own, and in no way express the opinions, policies, or plans of Universal Remote Control, Inc.
Post 24 made on Saturday May 31, 2008 at 08:15
Matt
Founding Member
Joined:
Posts:
August 2001
1,802
Yeah, using the variables as 8 bits of digital logic, now THAT'S what I'm talkin' about!
Post 25 made on Tuesday November 18, 2008 at 10:37
seth995
Long Time Member
Joined:
Posts:
February 2008
27
So I kind of did this. I am one of the few with a TX-1000 but I believe the basic variable programming will be the same as a mx-900 so any help is greatly appreciated.
I worked with 3 variables but am having a slight programing issue and a slight functional issue that maybe I can get some feed back on.
So I am using 3 variables V1 V2 and V3 to determin 5 different user's Sat channel favorites. So if
V1=0
V2=0
V3=0 then it is my wifes favorites while
V1=0
V2=0
V3=1 then it is my favorites.

so I have a series of nested macros (fav, fav0, fav1, fav00, fav01 so on and so forth) that check v1 and depending on whether it is 1 or 0 will go to the appropriate fav*** button which will then check v2 and go to its appropriate page and then check v3 ultimately resulting in a page jump to an appropriate hidden page of sat channel macros. This part works. I have the pages hidden so that as a user you can not page up and down through everyone elses favorites, so to get back to your fav after you leave your screen you basically have to rerun the nested macros to check which fav page you go to. I accomplish this by using the select button mainly because once you choose something on the sat box I thought it nice to go back to your favorites. This works but it results in about a sec delay as it runs the macro on every select button press...which is kind of annoying as you are going through your menu options. Obvious simple answer is use a different button but I fear that the baby sitter and the in laws will not be able to get back to their favs page. The select button makes that jump just happen. So basically do you guys have any thoughts on how to set a user and then make it go to the appropriate page with out rerunning the nested macro? This also speaks to my functionality question. How else can I use this modal operation to hide screens and functions? Basically it comes back to setting a user and then keeping it set without running 3 nested macros for each function.

Sorry for the long post
Seth

Last edited by seth995 on November 18, 2008 10:43.
Post 26 made on Tuesday November 18, 2008 at 14:42
Matt
Founding Member
Joined:
Posts:
August 2001
1,802
I must ask if you seriously think a 1 second delay is a long time?

How are you setting a specific user? I think you're just stuck with the 'calculation', unless you create an entirely different Sat device for each user, that way you jump to the appropriate device which just contains the appropriate favorites within that device, rather than running through the macro each time the select button is pressed on 'group' satellite receiver and navigate to the favs page from there.
Post 27 made on Tuesday November 18, 2008 at 16:18
seth995
Long Time Member
Joined:
Posts:
February 2008
27
It ends up being a long delay if once you get into the menu then press select playlist, then your show folder, then your show.

That's a good idea about the separate devices based on the variable calculations. I hadn't thought of that. Implementing it shouldn't be that hard. Just copies of the same thing.

thanks
Seth
Post 28 made on Wednesday November 19, 2008 at 20:26
FreddyFreeloader
Super Member
Joined:
Posts:
April 2004
3,242
A "Please Wait" page will be my first attempt at using variables. The user should only have to "please wait" when the monitor or amps are fired up. So yeah....that seems like a nice basic one to start with. Has anyone seen this example demonstrated in the Control Room?
Post 29 made on Wednesday November 19, 2008 at 20:37
Matt
Founding Member
Joined:
Posts:
August 2001
1,802
I use it now, I have an RPTV that has to warm up for about 60 seconds before it accepts a command, but don't want to wait 60 seconds everytime AFTER it's on.

I also use the technique above for jumps to devices with multiple pages, that allows me to get back to the originating device with only one button push, slick.
Page 2 of 2


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