Page 1 of 1

Display volume as number

Posted: Fri Mar 23, 2018 7:00 am
by wilsonj
Hi,

I'm more than a bit rusty and I'm getting a little lost. What is the easiest way to achieve the following ?
I want to press vol up or down button, query the receiver and display the result as text on a button.

Command is @MAIN:VOL=? which should return a number in db eg -30db

I can't find an example of this. Any ideas ?

Thank you in advance.

Re: Display volume as number

Posted: Fri Mar 23, 2018 8:58 am
by DemoPad
Have a look at viewtopic.php?f=10&t=3581

To set a number value retrieved from feedback into a label, have an action which sets the label to the number in curly braces, eg:

{MyVolume}