This is my fault I did not explain properly so here goes:
The objective:
To have one active element (button or page) at any given time with each press "Either Or" and the feedback example is perfect as it shows how the input selector feedback for an Opus system is set up.
Old cassette players behaved like this with the play, stop, rewind . . . It was a mechanical process.
We need to "trick" command fusion into doing this (without an external source or bolts and nuts :-)
I assumed you did not have a radio that was sending you messages to capture.
So to achieve the objective above I suggested you use a virtual system.
You can use this technique to create fully interactive demo remotes offline. . . Fiasco was the first I saw do this.
This way you replace the opus system and do not need any external messages. (you just want to change between buttons)
I asked you to copy the system from the wiki regex example because you could make commands for the virtual system to send (and capture as though they were being sent by the opus system)
So using the wiki example as a template.
http://www.commandfusion.com/wiki/index.php?title=GuiDesigner:System_Manager:Regex_Examples
Make the following commands in the virtual system and assign them to button.
Button One:
Command:#11U0101!
Digital Join: 1
Button Two: #11U0102!
Command:#11U010!
Digital Join: 2
Button Three:#11U0103!
Command:#11U0103!
Digital Join: 3
...
Button eight:#11U0108!
Command:#11U0108!
Digital Join: 8
Regex: #11U010(1)?(2)?(3)?(4)?(5)?(6)?(7)?(8)?!
Capture Group:
http://www.commandfusion.com/wiki/images/5/59/01_regex_example_feedback_properties.png
Now when you press the button you are pretending to be the opus and the regex becomes active with a match.
The relevant button changes and we have met our objective.
Please note that simulate feedback should be off.
What if I have a radio I want to use?
Well then you need the protocol from which the relevant response is derived and resulting feedback will be fabricated.
In that case you will not need a virtual system.
You will have to add the IP address and port number of the system you are controlling instead. (As with the wiki example and my Onkyo -described below).
Then any response is captured and processed by the regex and the relevant input is displayed.
Here is my example onkyo:
http://www.vandermehrn.com/lc/onkyo/volumefeedback/onkyo.rar
Hope this helps .
Nahshon
On 7/20/2010 10:59 PM, Waldy,,,, Liverpool Uk wrote:
Hi nashon, Hope you don't mind but I have sent the layouts directly to your email address as i don't know how to pst pictures on thsi site Hopefullly you will see the problem Thanks Waldy
On 7/20/2010 9:59 PM, Nahshon Williams wrote:
Also did you escape any characters to test your regex? If so did you remember to remove them in feedback manager?
As you can see from the image the joins go from 901 to 912 so I also kept a sequence.
On 7/20/2010 9:54 PM, Nahshon Williams wrote:Hmmm. . .
Need more info.
I assume you are using a different protocol to the wiki example, if so please post the regex and response you are expecting/getting.
At present I have an onkyo on this "either or" function based on frequency matches.
Here is how I got mine to work:
Ecpected Data when station changed or queried from Onkyo: ISCP!1TUN08880
Regex: .*!1TUN(09850)?(08880)?(09130)?(09350)?(10490)?(09490)?(10620)?(10090)?(10220)?(10540)?(09730)?(09580)?.*
Too lazy to type the rest so here is an image:
http://vandermehrn.com/lc/onkyo/WhichStation.png
What the image shows is the different capture groups and relevant station.
Here you can see BBC Radio 2 is on the frequency above.
They are digital joins and there is no off value.
Simulate feedback is switched off (as this is the real deal)
hope this helps. . .
Nahshon
On 7/20/2010 9:14 PM, Waldy,,,, Liverpool Uk wrote:Hi Nashon, Have finally got around to setting this up and have come up with a problem. I have the digital joins set for 5 preset radio stations, the join no's are 950-954. i used this range as I am trying to keep pages in sequence. I have followed the instructions and when I do the regex test the join number picks out the correct group. However nothing now happens when I press the button. It does not even execute the command to pick the radio channel. Any idea what could be wrong thanks Waldy


Comments
0 comments to "Re: button change state"
Post a Comment