Volume Down Command: ISCP\x00\x00\x00\x10\x00\x00\x00\x08\x01\x00\x00\x00!1MVLDOWN\x0D
Slider Volume Command: ISCP\x00\x00\x00\x10\x00\x00\x00\x08\x01\x00\x00\x00!1MVL[sliderval]\x0D
Slider Properties
Analog Join: 33
Min 0 Max 64
Decimals (0)
On Press None (when would I need this?)
On Drag: Slider command as above.
On release: (why?)
Slider Value: Hex String
Slider Regex: .*!1MVL(.*).*
Analog Join: 33
Slider Join:33
Volume Value Display Regex: .*!1MVL(.*).* //This is identical
Serial Join: 55
Text Box Join: 55
Returned by the Onkyo when volume decreased:
Raw Capture:
ISCP
!1MVL3D
ISCP
!1MVL3D
ISCP
!1MVL3C
ISCP
!1MVL3C
ISCP
!1MVL3B
ISCP
!1MVL3B
ISCP
!1MVL3A
ISCP
!1MVL3A
ISCP
!1MVL39
ISCP
!1MVL39
ISCP
!1MVL38
ISCP
!1MVL38
ISCP
!1MVL37
ISCP
!1MVL37
ISCP
!1MVL36
ISCP
!1MVL36
ISCP
!1MVL35
ISCP
!1MVL34
ISCP
!1MVL33
ISCP
!1MVL32
ISCP
!1MVL32
As you can see there are alpha numeric hex values in the range.
The slider gets confused and jumps to zero when it encounters this. Then it continues when a "decimal type" number appears.
Nahshon
On 28/04/2010 22:56, Jarrod Bell wrote:
Can you please post some examples of the messages that are coming in and the regex pattern you are using? You might have to setup a regex that captures the ascii hex value, and ensure you set hex mode to true on the capture group. Make sure you are capturing with the 'catch all' character, such as VOL(.{1,2}) rather than as digits VOL(\d{1,2}) Jarrod On Apr 28, 11:34 pm, Nahshon Williams <spc...@gmail.com> wrote:I have been creating an onkyo remote. The onkyo loves sending Hex strings. Was not sure why the regex worked for a short instant and then went crazy. Created a serial join with the same regex and it all became clear; my volume slider works when the numbers appear to be decimal then jumps to Zero when the hex notattion ABCD appear. I have ticked and unticked every hex and none hex option in GD. Any pointers anyone? Where did Fiasco go? Nahshon 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 athttp://groups.google.com/group/commandfusion?hl=en.


Comments
0 comments to "Re: Hex Stings -How are they handled on analog joins?"
Post a Comment