listing. So for anyone attempting to read this online, good luck!!
Anyway, I see you didn't mention in the feedback group if you had it
set to hex mode. You must ensure each capture group is set to hex mode
for it to parse the value correctly.
Also, your regex is wrong. The way you have it setup it will capture
anything after MVL, whilst you only want it to capture 2 values max.
Try this regex: .*!1MVL(\w{1,2})
\w means any word character (letters, digits, underscore)
You only need to define a single feedback item when using the latest
guiDesigner beta, then you can use a capture group more than once.
Eg. Add a group for your slider analog, slider serial, volume level
analog, volume level serial. (not sure why you need two different sets
anyway). Just make sure you set the 'capture index' value to match
which capture group (there is only 1 in your regex in this case, so
all groups would be set to capture index 1).
As for slider commands, you can assign different commands based on
when you press the slider, drag the slider and release the slider. Not
necessary, but there if you need it.
Jarrod
On Apr 29, 11:44 am, Nahshon Williams <spc...@gmail.com> wrote:
> *Onkyo Volume Range in Hex is 0 - 64* 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. >> >
>
> --
> 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.
--
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: Hex Stings -How are they handled on analog joins?"
Post a Comment