Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Many analogs match last changed value
Heath Volmer
Say I have five analogs. I want all of those analogs to be the same value,
depending on which one changes last. This will be enabled or disabled, so that sometimes they will all be in line and other times they will be independent. Is there a clean way to do this? I can see an ABUF or SBUF with each combination of analogs coming in and going out but I'm not sure about creating and explosive looping scenario. I think the ABUF might protect from this... -- Heath Volmer Digital Domain Systems Littleton, CO |
Use 5 ATOS's and an IL or INIT/EQU to track the last changed value, use
toggle quoted message
Show quoted text
ABUF/SBUF combos based on the last changed digitals as enables. That should do 'er On Fri, Jun 7, 2013 at 10:27 AM, Heath Volmer <hvolmer@...> wrote:
** |
spitballing:
toggle quoted message
Show quoted text
room01#...room05# (analogs) enable_feature (digital)(logic to enable/disable this feature) aos room01#->room01_changed ... aos room05#->room05_changed abuf room01_changed room01#->changed_value# ... abuf room05_changed room05#->changed_value# abuf enable_feature changed_value#->room01# ... changed_value#->room05# Would this create a loop for the active room? You're also gonna be susceptible to jumps in level for the non-active rooms. --- In Crestron@..., Heath Volmer <hvolmer@...> wrote:
|
Kool-Aid Drinker
Do-able? yes. Clean? no.
When you transition from individual-values to shared-value, do you want them to wait for the next propagation to become synchronized? Or is it necessary to track the last change and propagate that? In shared, if one of them gets a repropagation of the current value, should they all get a repropagation? Mmmm. Friday puzzles! On Fri, 7 Jun 2013 10:27:16 -0600, Heath Volmer <hvolmer@...> wrote: Say I have five analogs. I want all of those analogs to be the same value, |
Heath Volmer
As soon as you enable a buffer, it spits out to all of the others which retriggers the others' logic, which fires up a loop.
I think there must be a timeout that says "if one has changed, prohibit all others from propagating their change for some period of time." On Jun 7, 2013, at 10:51 AM, weddellkw <weddellkw@...> wrote: spitballing: [Non-text portions of this message have been removed] |
Heath Volmer
What I did, that seems to work: Five SAWPULSEs, out --> ANDed with an overall "enable" ---> into each ABUF's enable. The ABUF takes value 'n' and passes it to all other values.
toggle quoted message
Show quoted text
The "reset" on each SAWPULSE is driven by an OR containing all of the other SAWPULSEs outputs. Thus, one SAWPULSE will reset all other SAWPULSEs until after the buffer-matching is completed and prevent any others from firing off. I think I can see how to incorporate the IL to do something similar, but I still need to block everything else that isn't running while the first solution runs. About the same amount of logic. The IL just keeps bouncing around because the new value propagates through the other values on the same wave and causes multiple things to fire simultaneously. Wouldn't scale easily, but I really only need to do this for 3-4 values. Thanks guys, Heath On Jun 7, 2013, at 10:48 AM, Neil Dorin <neildorin@...> wrote:
Use 5 ATOS's and an IL or INIT/EQU to track the last changed value, use |
TechyJake
I assume it is fore a link rooms function or something similar. If you are not familiar with analogs this will frustrate you to no end. I will send you a program with exactly (i think) what you want. I will include a module for you so you can repeat. I have to take the wife on a date so there will be no notes. Only had 10 minutes to do it, hope it is what you need.
TJ |
to navigate to use esc to dismiss