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