|
|
|
Complete Control by URC Forum - View Post
|
|
|
|
|
|
|
The following page was printed from RemoteCentral.com:
Using Variables with MX-950
| |
|
Topic: | Using Variables with MX-950 This thread has 4 replies. Displaying all posts. |
|
Post 1 made on Saturday December 16, 2006 at 21:08 |
GaRder45 Long Time Member |
Joined: Posts: | November 2006 15 |
|
|
Say i have two variables, 1 and 0. When i hit that button once, it triggers it to state 1. Then i hit it again it triggers to state 0? Is that correct? What happend if i hit the button but he IR signal does not reach. I'm a little confused on how this works?
|
|
OP | Post 2 made on Saturday December 16, 2006 at 21:11 |
GaRder45 Long Time Member |
Joined: Posts: | November 2006 15 |
|
|
you know what would be real nice, say you had a bunch of devices and you wanted to power them all off. What would be nice is one button power all off command. So you can pick and choose which devices to power off by inserting the command. The signal will check the status of the devices. if its on turn it off. If its off bypass.
|
|
Post 3 made on Saturday December 16, 2006 at 21:24 |
OTAHD Super Member |
Joined: Posts: | October 2005 4,679 |
|
|
How would it "check the status of the device"? It cannot tell whether the device is on or off because the device sends no signal back to the remote.
|
LET'S GO BUFFALO!!! |
|
Post 4 made on Saturday December 16, 2006 at 21:47 |
BobL Founding Member |
Joined: Posts: | March 2002 1,357 |
|
|
You can easily program this. First, if your equipment has discrete codes use them. But, let's use an example of a TV that doesn't use discrete codes for power.
You create Two buttons on a hidden page of your TV device. Label one button "TV On" and the other "TV Off".
Make each button variable under 'type'. Under variable use the pulldown and select new variable. Type in "TV Power". Once you have done this then set the variable with the pulldown to "TV Power" for each button. You'll only have to create the new variable once.
If you notice when you selected variable as the type of macro two small tabs appeared above it that state variable=0 and variable=1. This is the macro you want to execute depending variable "TV Power" is set to 0 or 1.
Let's say when the status is 0 the TV Power is off and when the status is 1 the TV Power is on.
If we are trying to turn on the system and have the "TV On" button in our macro either the variable=0 or variable=1 commands will be issued. For example.
Variable=0 macro might be: Power (power code for TV) Delay 5 seconds Set variable "TV Power" to 1 (Since TV will now be on)
Variable=1 might not need anything as the TV would already be on.
Now let's reverse it for the "TV Off" button which would be called in our system off macro.
Variable=0 might not need anything as the TV is already off
Variable=1 macro might be Power (Power code for TV) Set variable "TV Power" to 0 (Since TV will now be off)
You will have to create these on and off buttons for every device that doesn't have discrete codes. But then all you need to do is program the sequences for on and off on the watch page and then punch them through to every device.
I hope I didn't make this too confusing.
Bob
|
|
Post 5 made on Monday December 18, 2006 at 00:45 |
Dave E Long Time Member |
Joined: Posts: | September 2005 282 |
|
|
As GaRder45 stated, if the IR or RF does not go through then the variable changes state but the device does not. Then you have a problem. Using the new MSC-400 would solve this problem because it has video and voltage sensors that know if a device is on or off. You can use IF/ELSE statements to say, "If it is on, turn it off, else, do nothing". That would seem to be a fairly bullet proof solution. Variables will work perfectly if everything else works perfectly. In my world, Murphy’s Law follows me around like a shadow.
|
Experience is what you get when you don't get what you want. Any wire cut to length will be too short. I must be a near GENIUS. All my teachers told me I was at the very PEAK of the bell curve! |
|
|
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.
|
|
|
|