Human UI Value Listener live update

Hi all,

I’m having an issue with the “Value Listener” component of Human UI. It doesn’t update the value coming from “Create Button” component. If I connect a new VL component with CB component, it’s showing the updated value. The image below shows the value not updating above and the correct value below.
image
It updates sometimes, but I don’t know how to make this live update reliable.
To avoid this issue, I was trying to find a way to flow “true” value for a very short period like 1 second, with “false” value flowing at all other times, but I couldn’t find a solution either.
I’m not sure if Andrew @andheum still has time to take care of Human UI, but I hope I could get help on this issue.

Thank you!

Dongyeop

That’s very odd… Can you upload (or DM me) the definition? The only times I’ve seen similar behavior are if something is configured wrong in the window or the button in question is triggering some kind of very slow operation (like a giant bake or something).

Sure, it’s part of a large definition under development. It’s a bit messy at the moment, but I marked with red sketch lines as shown below.


Buffering data seems to fix the issue, but I’m not sure if this will be a reliable solution.

It is to trigger a slow operation writing Excel data in sequence. I’ll DM you the definition.
Thank you for continuing your support to this great plugin!
-Dongyeop

I am missing a great many of the plug-ins you use, so I can’t open your definition to reproduce the issue. However, I have a suggestion that may fix the problem. Using Metahopper to “wirelessly” trigger a slow operation from a button can sometimes fix the “stuck on true” problem. See attached for an example Trigger Slow Operation.gh (11.0 KB)

Thank you so much Andrew. It seems to have fixed the issue. I would have never known this workaround using Metahopper without your help. Happy Thanksgiving!

1 Like

Hi both, I also have a similar problem. I have a number of inputs setup but only a change in the last input will cause the value listener to update. I’ve built a workaround using metahopper/expire object but it would be good if it would work without it. Not sure if it’s something to do with how I’ve setup tabs on the UI as I think it was working prior to that. Any advice would be much appreciated! Many thanksvalue listener not updating.gh (15.2 KB)

Flatten the list of elements going into the value listener, it doesn’t really like trees. Then your “update button” should no longer be necessary.

(Also, if you want to use a live button to trigger the update of a value listener in the future, zoom in to add the third “T” input for “trigger” - any value passed to this will cause the value listener to refresh, no metahopper required.)

That did the trick, so simple and now working fine! I thought it felt like a tree problem by its behaviour but didn’t think of that. Great tip on the Trigger for Value Listener too. Many thanks Andrew

Hello everyone,

I’m having an issue with the Value listener component, it’s not outputting any value at all. does anyone knows how to tackle this problem ?
I’m not sure if Andrew @andheum is still available and have the time to help.

Regards,
Ralph

You should connect the value listener to the “create slider” component, not to the original sliders

1 Like