Wednesday, March 3, 2010

Re: Feedback to Guage on Denon - Now Working

0 comments
I have not yet finished the project :-(
(Thinking of moving to onkyo as zones not working on this denon)

Anyway here is how I was able to get feedback working.

Here are the images that I use: http://vandermehrn.com/lc/feedback/

Everything lies in the REGEX.
Things to note.

You do not need to escape the "\" in "\x0D" EXCEPT when testing your
regex in the regex tester. (no quotes in regex)

For example to get feedback on the guage for volume, I send the denon;

MVUP\x0D

The denon responds with

MV50\x0D . . . MV51\x0D. . .MV52\x0D. . .MV53\x0D and so on as long as
it gets a new "volume up" command it will respond with the new change in
value.


A regex to capture this would be ^MV(\d*)\x0D$ (Thanks Jarrod. . . see
below)
The first and last characters of that regex are for matching the
responses that have that exact format. (in case there are other
responses) in the data stream.
What is important is that the values in the brackets are captured.

We will now need to assosciate these captured values\events to a guage.
To do this we need to give a guage and the captured event the same join
numbers.
In this case 222.

We also need to specify the minimum and maximum values for the guage so
it is scaled correctly. (in the feedback manager)
For this Denon the volume response range goes from 0 - 98.

I learn as I go so anyone please add what you might think I missed out.
. . .

xcuse tpyos

Nahshon

On 03/03/2010 01:42, Howard wrote:
> Nahshon - Did you ever do the "how to" tutorial? I am trying to
> understand how to setup feedback from a Denon AVR to iViewer on an
> iPod Touch via the broadcaster plugin in Eventghost and having
> difficulty.
>
> Howard
>
> On Jan 19, 11:05 am, Nahshon Williams<spc...@gmail.com> wrote:
>
>> Thank you Jarod
>>
>> I now have feedback on the guage.
>> I am thinking of writing a mini "how to" tutorial when I complete this
>> project.
>> There is are little nuances here and there . . .
>>
>> Nahshon
>>
>>
>>
>> Jarrod Bell wrote:
>>
>>> When using hex bytes in the regex, you don't escape the backslash. So
>>> the regex should be:
>>> ^MV(\d*)\x0D$
>>> or
>>> MV(\d*)\x0D
>>>
>>
>>> You would need to copy/paste the string that is being matched against
>>> into the regex tester within guiDesigner as you cannot enter hex bytes
>>> into the test value field.
>>>
>>
>>> Jarrod
>>>
>>
>>> On Jan 19, 3:14 am, Nahshon<spc...@gmail.com> wrote:
>>>
>>
>>>> Just realiased inserted images do not come up on the newsroup
>>>> hear is a link:
>>>>
>>
>>>> http://www.vandermehrn.com/lc/feedback/
>>>>
>>
>>>> On Jan 18, 3:44 pm, Nahshon Williams<spc...@gmail.com> wrote:
>>>>
>>
>>>>> Adding Feedback to denon system
>>>>>
>>
>>>>> Step one Look at at RS232 protocol spec
>>>>> <http://vandermehrn.com/lc/AVCA11SR.pdf>
>>>>>
>>
>>>>> The example of a command *<CR> is the meaning of 0x0D.
>>>>> SIDVD<CR> : Select Input source DVD
>>>>> MSTHX SURROUND EX<CR> : surround Mode Set to THX SURROUND EX
>>>>> MVUP<CR> : Master Volume UP
>>>>> PWON<CR> : system PoWer ON
>>>>> PWSTANDBY<CR> : system PoWer STANDBY
>>>>> SI?<CR> : Request command for now playing input source>> Return
>>>>> RESPONSE SI***<CR>
>>>>>
>>
>>>>> This is great I can change volume and Inputs to the system.
>>>>> here is the Protocol for the AVCA11SR:http://vandermehrn.com/lc/AVCA11SR.pdf
>>>>>
>>
>>>>> What does it say about feedback? Well Page 9 Says:
>>>>>
>>
>>>>> So I write the REGEX and test it.
>>>>>
>>
>>>>> the structure is:
>>>>>
>>
>>>>> MV80\x0D
>>>>>
>>
>>>>> Here are 2 Regexs that can capture the value:
>>>>>
>>
>>>>> ^MV(\d{1,2})\\x0D$
>>>>> ^MV(\d*)\\x0D$
>>>>> Both give me a capture of 80
>>>>>
>>
>>>>> So now I enter the FEEDBACK and the ANALOG JOINS (see combined image below)
>>>>>
>>
>>>>> When I change the volume MVUP\x0D or MVDown\x0D
>>>>>
>>
>>>>> Nothing happens to the guage.
>>>>>
>>
>>>>> What am I missing guys?
>>>>>
>>
>>>>> I have been trying feedback for days following my RS232 post.
>>>>> Look at the indignity of two buttons for Screen up and Screen Down. and
>>>>> Projector On and Projector Off.
>>>>>
>>
>>>>> Fiasco has a great work around I cannot use for adding 2 commands to a
>>>>> button. (it needs feedback)
>>>>> I am reading the manual correctly or missing anything out?
>>>>>
>>
>>>>> I have read it so many times I dream about it seriously....
>>>>>

--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.

Comments

0 comments to "Re: Feedback to Guage on Denon - Now Working"

Post a Comment

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com