iRule  Universal Remote Control

Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Conditional on feedback

Mans Apr 28, 2018 03:58PM EDT

Great day to all,

I've got a specific question, i've been searching the Community for some hint, but wasn't able to find something.

I've set up control (RS232 via a GC-100) and feedback rules for a McIntosh C47 pre-amp in iRule.
Everything works like a charm including button image states.

Only thing which isn't perfect: The pre-amp sends a Mute ON and Mute OFF feedback according a dedicated command to the amp.
BUT not in case the MUTE state is cancelled/overruled by adjusting the volume manually or via remote.
In such an event the mute button keeps indicating a mute active state :-(

So i'm trying to figure out how to include also a 'change of volume', this into the conditionial IF & ELSE-IF incl set variable rules, which i've set up for the mute button images.

Thanks in advance for your help or hint,

Steven.

2 Community Answers

Best Answer
iRule Support Team Apr 28, 2018 11:33PM EDT

Steven,

You have to query the feedback.

View in conversation


Up 0 rated Down
iRule Support Team Best Answer Apr 28, 2018 11:33PM EDT Builder & App Support Support
Steven,

You have to query the feedback.
Up 0 rated Down
HTGeek Jul 11, 2018 12:24PM EDT
So, the order is:

1. Mute feedback received (mute on)
2. Volume is adjusted by user
3. Result: No "mute off" feedback sent

And you want to know how to accommodate for this so your user interface works correctly.

Watch for a volume change. If the volume is changed - presuming you get a notification when the knob is adjusted manually - then turn off the mute indicator in your UI. This can be accomplished with variables. When mute is flagged on, watch for volume change. If it happens, flip off the mute indicator variable.

Here is a tutorial that shows you how to do this automatically:

https://irule.desk.com/customer/en/portal/articles/1663488-conditionals?b_id=4198

I hope that's helpful. The instructions (or lack of) for iRule are mostly crap. ;(

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Recent Discussions

Ajax-loader-small
customer-service@iruleathome.com
https://cdn.desk.com/
false
iruleathome
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
true
Invalid characters found
/customer/en/portal/articles/autocomplete
There was an error contacting Get Satisfaction
View All
0
discussions
replies
Questions
Ideas
Problems
Praise