¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Buffer Evaluation Question


 

I meant the buffer enable was being pulsed, with latched FB on an input propagating to an output.

Sorry I left out a few words in my reply.

My bad gentlemen, I will make sure to be more specific next time.


Sean

--- In Crestron@..., "matt_rasmussen_2000" <mjrtoo@...> wrote:

On a side noted, pulsed and latched are not interchangeable terms. Oulsed means activated for a set duration, latched mean once activated will stay active until you unlatch it. Saying pulsed with latched feedback doesn't make sense. :-)

--- In Crestron@..., "Sean" <seanzombie56@> wrote:

Nope my bad, the enable was being pulsed with latched FB.

Basically I was doing a combine rooms function, with laptop 1 FB latched, make room #2 match up with room #1. I got a little buffer happy and had laptop 2 FB in the same buffer, so the "match output" command that was tied to the two outputs in the same buffer never ran.

There were other buffers in the program that had the same outputs tied to multiple inputs that ran fine, but they had 1s instead of enables being pulsed.

I'm trying to edit an old program, trying to be nice and not yell at myself from two years ago for doing lazy programming. I should have just started over from scratch.


Sean

--- In Crestron@..., "eagrubbs" <eagrubbs@> wrote:

So in example 2 the buffer is behaving like an AND? I have never used a buffer for a latched signal without pulsing the enable or pulsing the input side of the buffer with enable latched.

--- In Crestron@..., "Sean" <seanzombie56@> wrote:

I most likely didnt make myself clear in the question. I also may be asleep at the wheel, long day.

So I'm basically asking whats the difference between these two buffers:

Buffer 1:
Enable = 1

Input 1 = Press 1 -----------> Source_On
Input 2 = Press 2 -----------> Source_On

When either "Press" goes high, Source_on is triggered by either button press.

Buffer 2:
Enable = 1

Input 1 = Latched_FB1 -----------> Source_on
Input 2 = Latched FB2 -----------> Source_on

When only one of the "Latched_FB" inputs goes high, source_on is still low. Which is standard buffer behavior.

Whats the difference? I understand buffers get evaluated top down and then propogate, but why does buffer 1 work?

Sean

--- In Crestron@..., "martinkup90" <martin@> wrote:

For as long as an input is latched from FB, the output will be high, so if any other input goes high, the output will see no difference and stay like it was.

--- In Crestron@..., "Sean" <seanzombie56@> wrote:

I'm working on a room a programmed years back and started questioning my buffer usage.

Simple question:

A buffer with a 1 as the enable, and two inputs, both inputs are presses that propagate to two outputs with the same signal on them.

Only 1 input will go high at a time, but I havent run into any issues with the outputs not going high to to enable other things.

In my knowledge of buffers I would think they evaluate the entire buffer then propagate to the outputs, leaving them both low. In this case, the outputs go high when only one of the inputs go high. I noticed this doesnt work when the inputs of the buffer are latched FB.

What am I missing?

Sean

Join [email protected] to automatically receive all group messages.