FAQ

Get value from device and show as text

Lars NS
Oct 8, 2012 at 7:07 am
Removed the listjoin, and went through the Regex again - I had a space
missing... it works!

Thanks for the help you guys!

The next "problem".. how do I convert the HEX value my system returns as
volume-level to match a decibel-scale where 0h(-60dB) to 90h(+12dB) in
0.5dB steps (0-144 dec) ?

Den fredag den 5. oktober 2012 15.35.48 UTC+2 skrev Jarrod Bell:
As Jordan mentioned - remove the list join details from the feedback
item, you are not using lists.

Also, check the EOM of your system. You have it set to \x3B, but is that
data actually sent as part of the incoming messages? Your regex doesnt look
for it.
If the EOM is never found, then the incoming data will never be sent
through the feedback system as it will be constantly buffered until the EOM
arrives. I think you should have this set to \x0D like mentioned earlier.

Regards,

*Jarrod Bell*
CommandFusion
www.commandfusion.com

On 5/10/12 7:26 PM, Lars NS wrote:

I can't get this to work - I have made a new file with macros on the
up/down buttons for volume, first the set volume command, and then a get
volume.

The text field stays empty when using the GUI online.

I have set the serial join to the same value for both the feedback
command and the text item.

I have attached the file here, that might clear things up.

Best regards, Lars

Den fredag den 28. september 2012 15.45.36 UTC+2 skrev Jarrod Bell:
One slight difference is you should put the EOM on the end of the regex
as well:
GG 2,(.*)\x0D

The EOM is never actually stripped from the data, its just used to split
data as it arrives. The data is only separated, nothing is stripped from it.

Other than that, Jordan was spot on. Just remember to match the join
number of the volume text object in your GUI with the join number in your
feedback "capture group" item.

Regards,

*Jarrod Bell*
CommandFusion
www.commandfusion.com

On 28/09/12 8:23 PM, Jordan wrote:

Assuming you have already a System defined for sending the volume up/down
commands, you can create a Feedback item with a regular expression that
captures the date you want from the string you receive from the DSP.
The Feedback item should have the following regex:

GG 2,(.*)

which captures anything between the comma and the EOM delimiter (make
sure you put \x0D in the system EOM field).
In the Feedback definition, click Add Group, give it a name (eg.
"volume"), set Data Type to Serial, Target Type to Serial and Join is the
serial join of the text box you use to display the volume.

This should be it.

Il giorno venerdì 28 settembre 2012 11:34:18 UTC+2, Lars NS ha scritto:
Hi

I'm new to CommandFusion, and I can't figure out how to show a value
from my system.

I send a command (GG 2 \x0D), and get a response(GG 2,VALUE \x0D) from
my system indicating the volume of a groupfader in my audioDSP. How should
I set this up - a step by step, or and examplefile would be helpful.
In my GUI I have up/down buttons for volume and I just need that
text-value indicating the volume.

Best Regards,
Lars
--
You received this message because you are subscribed to the Google Groups
"CommandFusion Software" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/commandfusion/-/2NZWYnpOBx8J.
To post to this group, send email to comman...@googlegroups.com.
To unsubscribe from this group, send email to
commandfusio...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/commandfusion?hl=en.


--
You received this message because you are subscribed to the Google Groups
"CommandFusion Software" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/commandfusion/-/3JyGnlk_I-QJ.
To post to this group, send email to comman...@googlegroups.com<javascript:>
.
To unsubscribe from this group, send email to
commandfusio...@googlegroups.com <javascript:>.
For more options, visit this group at
http://groups.google.com/group/commandfusion?hl=en.

--
You received this message because you are subscribed to the Google Groups "CommandFusion Software" group.
To view this discussion on the web visit https://groups.google.com/d/msg/commandfusion/-/X0XN0CU5Z0wJ.
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.
reply

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 14 | next ›