Bargraph update from a variable.
alexsquared Posts: 166
Ok, so this is likely a very simple question, but I can't readily find the answer. I am controlling a Denon receiver and would like to populate a bar graph with volume feedback. I was originally using the Amx module for that receiver, however, it seemed to choke from time to time and took way long to load on boot. I'm now controlling it natively though code. I've gotten so far as using a data event to pull the feedback and put it in a CHAR sbuffer. Where I'm struggling is with sending the info to the bar graph so it will display that on the panel. Also, the feedback jumps between 2-3 characters as it moves in half steps. Ie, 50 (for 50%), and 505 (for 50.5%). Ideally I could update it with each step, but if I only update on 2 digit feedback (each full step or two button presses) that is fine too. Thanks!
send_level dvUI, 1, 50
Thank you Paul for the input. I'm trying to send this level to the UI
and I get the below error.
ERROR: C10504: [<expr2> of SEND_LEVEL <ref><expr1><expr2>] is not compatible with a [DOUBLE] value
as an FYI, sParse1 should be in an integer state based on my ATOI command.