it?) the following regex will work:
\xF0\x00\x00\x70\x00\x00\x7F
\x00\x00\x04\x02\x00\x00\x01\x00\x00\x01\x00\x01\x00(.).\xF7
Then assign a single capture group, setting it to:
capture index = 1
datatype = analog
target = analog
join = join of your gauge or slider
min = 0
max = 50
hex mode = true
Jarrod
On May 27, 11:50 pm, James S Davis <jamessda...@dystopiandream.co.uk>
wrote:
> I am struggling to understand RegEx. I have read through the website
> and through the posts on here and still I can see what is happening
> but i cant seem to be able to transfer it in to my own situations.
>
> \xF0\x00\x00\x70\x00\x00\x7F
> \x00\x00\x04\x02\x00\x00\x01\x00\x00\x01\x00\x01\x00\x32\x2F\xF7
> \xF0\x00\x00\x70\x00\x00\x7F
> \x00\x00\x04\x02\x00\x00\x01\x00\x00\x01\x00\x01\x00\x00\x7D\xF7
>
> This is the response that is generated by Russound to indicate the
> maximum and minimum volume levels \x00 - \x32 (0-50).
> the second to last byte is the checksum and the \xF7 is the EOM
>
> If I want to enter the third from last byte to an analogue join I was
> expecting I would need something along the lines of
>
> ^\xF0\x00\x00\x70\x00\x00\x7F
> \x00\x00\x04\x02\x00\x00\x01\x00\x00\x01\x00\x01\x00(\x2)?.\\xF7
>
> Where am I going wrong?
--
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