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

Login:
Pass:
 
 

Topic:
SB Room Select Help
This thread has 11 replies. Displaying all posts.
Post 1 made on Monday January 17, 2011 at 10:54
SWOInstaller
Select Member
Joined:
Posts:
October 2010
1,566
I currently have indirect text linked to the room that is currently selected (works fine). What I want to do is when I select the theatre zone but am not on the theatre pages I want to revert back to the room I was using prior to the theatre zone. I have placed a variable to track the room selection (not including the theatre) but this is not working. I have created a global preset which runs when any page but theatre is selected and for whatever reason it isn't selecting the room.

Any help is much appreciated

Thanks,

SWO

I have also posted in the Crestron Remote forum as I am not sure how many people are aware of that location
You can't fix stupid
Post 2 made on Monday January 17, 2011 at 11:02
Indigo
Select Member
Joined:
Posts:
January 2008
2,040
More info... What control system are you using?
OP | Post 3 made on Monday January 17, 2011 at 11:12
SWOInstaller
Select Member
Joined:
Posts:
October 2010
1,566
Sorry, using AMS as control system
You can't fix stupid
Post 4 made on Monday January 17, 2011 at 11:16
lites4u
Active Member
Joined:
Posts:
August 2006
745
On your indirect text for the theater zone make sure the FB is set to the theater room name not current room.
OP | Post 5 made on Monday January 17, 2011 at 11:34
SWOInstaller
Select Member
Joined:
Posts:
October 2010
1,566
On January 17, 2011 at 11:16, lites4u said...
On your indirect text for the theater zone make sure the FB is set to the theater room name not current room.

That will work for the inidrect text but what about changing rooms when not on the theatre pages? Although the indirect text works I would still be controlling the theatre when I change to a different page even though it says I am controlling a room other than the theatre.
You can't fix stupid
Post 6 made on Monday January 17, 2011 at 11:58
lites4u
Active Member
Joined:
Posts:
August 2006
745
System builder( If you are using system builder) generates all that logic for you. Look for the room select page. Also, why not use a previous button with a page flip set to previous?
Post 7 made on Monday January 17, 2011 at 12:05
Audible Solutions
Super Member
Joined:
Posts:
March 2004
3,246
If I've followed, this may not be something SB does natively. Assuming you want to not only page flip but to set that room high upon exiting the Theater. The macros assume you will select a room from the scrolling list.

I have not opened SB to code this but---------You could trigger the event based on the exit button press. If Theater_fb is true and exit is pressed, selllect_room X.

But you want to get cute and memorize the last room selected. This analog is available for you and I suspect you could set a variable based on the room selected. You cuould add that value into the conditional based on the exit press from Theater.

If Theater_zone_fb =True and exit from Theater is pressed and Room_variable = n, then select Room A, if variable =n+1, select room B and so on

Alan
"This is a Christian Country,Charlie,founded on Christian values...when you can't put a nativiy scene in front fire house at Christmas time in Nacogdoches Township, something's gone terribly wrong"
OP | Post 8 made on Monday January 17, 2011 at 12:15
SWOInstaller
Select Member
Joined:
Posts:
October 2010
1,566
Thanks Alan I will look into this. Where are you getting the Theatre exit button? is this a pre-defined value in SB or do I have to create it?
You can't fix stupid
Post 9 made on Monday January 17, 2011 at 12:24
Audible Solutions
Super Member
Joined:
Posts:
March 2004
3,246
On January 17, 2011 at 12:15, SWOInstaller said...
Thanks Alan I will look into this. Where are you getting the Theatre exit button? is this a pre-defined value in SB or do I have to create it?

You are going to have to create it in VT-Pro and link it to SB. It will have to have a join number, be coded to page flip to the page you want upon exiting the theater, for example, the Audio Zone source selection page.

This will be a 3 signal [AND] gate with 2 maintained signals ( theater_fb, the Room that was selected variable and finally the exit button press, you will draw on to the theater page.

Here is your problem. SB uses a top navegation manu and typically it will be available on all pages. You're going to need to modify this so you can cause the trigger back to the previous audio zone.

My sense is that you can do this it's still a bad idea. This code is predicated upon the client making these choices. The theater is a zone on the system. They need to go back to room select and select the room they want to control. that is how this code works. Sure you can code around this.

But are you getting paid for this? It is going to require some time and patience and SB is not a development enviorment friendly to testing. You might have noticed the long build times each time you make a change.

It would be simpler to write a module that saves rooms to NVRAM and recall them upon exiting the theater. But you'll eventually be successfull doing this in SB but it'll take some trial and error.

Alan
"This is a Christian Country,Charlie,founded on Christian values...when you can't put a nativiy scene in front fire house at Christmas time in Nacogdoches Township, something's gone terribly wrong"
OP | Post 10 made on Monday January 17, 2011 at 12:53
SWOInstaller
Select Member
Joined:
Posts:
October 2010
1,566
Thanks Alan, This project is for our showroom and is something my boss has asked for. I have already made numerous changes to the navigation coding within SB.

For the most part I understand how I am to program this. The problem is I want this action to be performed when using the top nav buttons. In my original post I didn't clarify but am navigating solely with the top navigation. Therefore when if I am on the "Theatre" page (top nav) and press the "home" button I want to select the room prior to "Theatre".

Currently I have a room select variable attached to my 4 rooms. When a room is selected the room variable is set. I have also made a global preset stating "if room select=Kitchen then Theatre Zone Select room 4 else if room select=Pool then Theatre Zone Select Room 1 else if..." This preset is perfromed on navigation button except the Theatre. I would think that this would work but for some reason it is not. Do I have to add an "if Theatre zone=True" to this global?

Does that make any sense to you?

Thanks for the help

SWO
You can't fix stupid
Post 11 made on Monday January 17, 2011 at 18:34
Audible Solutions
Super Member
Joined:
Posts:
March 2004
3,246
On every AMS I've dealt with the Theater is a zone or room on the system. One of your issues is that --I suspect, at least--is that selecting the theater my throw your variables off. Typcially, theater is zone 1 and so on. In terms of the variable what is zone 1 and what is zone 2 doesn't matter. It's the value the code assigns to that action and how it is being set.

It would be best to have your code but unfortunately I don't work for Crestron and I need to earn a living. Ultimately, the easiest way to test this is via Simpl windows and the signal (.sig) file SB generates when it compiles the code you've built with it.

There are both analog and serial outputs that let you see what room is currently selected by the system. The panel will tell you what the modules on which SB works believe is currently under control. You could build a digital gage and link it to your variable and see what values are seeded and where they go awrey.

If I'm correct and the issue is that SB thinks the Theater is a zone do your variables include the Theater. Let's assume they do not since you don't care there is the issue on when to trigger this logic. You only want to do this when on the Theater page. So theater_zone_fb has to be part of the conditional. One issues you may have is SB is rather generous in assigning digial join numbers. Normally these are very important but not in SB. They link signal X ( Join Y )to the logic indirectly. Typically the same action that would have a single join were it coded in Simpl have multiple joins in SB enviroment.

This is why I think you need the Theater_zone_fb. You want to trigger the action when in Thater. You press your return to source control icon and based on the value seeded to the variable you ought to switch to that room.

These are the sorts of feature requests that cause companies to go bankrupt. Of course it can be done. But how much time will it take and what will ultimately be gained? Are you going to be able to do something better or faster the next in SB? Keep in Simple when using SB if you want to make a profit. Save the code to what SB does natively well--that is if profitability matters to your owner.

Ultimately, these sorts of things are done better in Simpl or Siml+ and that means a relationship with a programmer. That might be a good suggestion but who knows if your boss is in the mood to listen.

Try the above suggestions, particularly those with respect to trouble shooting. The fewer times you have to build the logic the better. Knowing when values are seeded and recalled is easiest done in Simpl debugger.

Alan
"This is a Christian Country,Charlie,founded on Christian values...when you can't put a nativiy scene in front fire house at Christmas time in Nacogdoches Township, something's gone terribly wrong"
OP | Post 12 made on Wednesday January 19, 2011 at 08:51
SWOInstaller
Select Member
Joined:
Posts:
October 2010
1,566
Thanks Alan for the help. After some hair pulling and cursing at Crestron my boss and I have left the program alone for the most part. He still wants the room to switch when not on the Theatre page but only to a specific room rather than the previous room like I was asking about. Very easy to accomplish as I am already performing this elsewhere in the program.

Thanks again Alan

SWO
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