example you replace the checksum with a "." or is it anything after
the required byte.
The \xF7 is just to tell the RegEx that anything after that is
something else, you would then specify that in the EOM section of the
system properties?
If I was expecting a response that contained several different pieces
of information each stored in a different byte would I just make
several different RegEx one set to capture each byte ( as Below)
\xF0\x00\x00\x70\x00\x00\x7F
\x00\x00\x04\x02\x00\x05\x07\x00\x00\x01\x00\x0C\x00\x00\x00\x00\x0A
\x0A\x00\x0A\x00\x00\x00\x00\x00\x3C\xF7
\xF0\x00\x00\x70\x00\x00\x7F
\x00\x00\x04\x02\x00\x05\x07\x00\x00\x01\x00\x0C\x00\x(Zone State)
\x(Source)\x(Volume)\x(Bass)\x(Treble)\x(Loudness)\x(Balance)\x(System
State)\x(Shared Source)\x(Party Mode)\x(Do Not Disturb)\x00\x3C\xF7
Zone State
\xF0\x00\x00\x70\x00\x00\x7F
\x00\x00\x04\x02\x00\x00\x01\x00\x00\x01\x00\x01\x00(.).\xF7
capture index = 1
datatype = Digital
target = Digital
join = join of on off button
off valu = 00
on value = 01
Source
\xF0\x00\x00\x70\x00\x00\x7F
\x00\x00\x04\x02\x00\x05\x07\x00\x00\x01\x00\x0C\x00\x00(\x00)?(\x01)?
(\x02)?(\x03)?(\x04)?(\x05)?.\xF7
capture index = 1
datatype = Digital
target = Digital
join = join of source 1 button
off valu =
on value = \x00
capture index = 2
datatype = Digital
target = Digital
join = join of source 2 button
off valu =
on value = \x01
capture index = 3
datatype = Digital
target = Digital
join = join of source 3 button
off valu =
on value = \x02
capture index = 4
datatype = Digital
target = Digital
join = join of source 4 button
off valu =
on value = \x03
capture index = 5
datatype = Digital
target = Digital
join = join of source 5 button
off valu =
on value = \x04
capture index = 6
datatype = Digital
target = Digital
join = join of source 6 button
off valu =
on value = \x05
Volume
\xF0\x00\x00\x70\x00\x00\x7F
\x00\x00\x04\x02\x00\x05\x07\x00\x00\x01\x00\x0C\x00\x00\x00(.).\xF7
capture index = 1
datatype = analog
target = analog
join = join of your gauge or slider
min = 0
max = 50
hex mode = true
I see no need for any of the other information for what ? have in mind
Thank you
--
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