Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: Value Store and Release
Reply to topic
Author Message
EMebane



Joined: Apr 15, 2019
Posts: 73

PostPosted: Jul 21, 2019 7:04 PM    Post subject: Value Store and Release

I'd like to store the value from a Slider and update a Text Box with the skuder's value when I press a Button (not during changes to the slider). What's a way to do this?

I tried with a Slider and button connected to a Valve (slider unchecked send unique values, which I presume it sends values each tick rather than only sending values when the slider changes -- please confirm this):
Sliider > Valve
Button > Valve > ScalarToText > TextDisplay

I find that changing the slider then opening the valve with the button does not cause the text display to be updated with the slider's value. It is working like the slider is not sending values constantly like I'd expect.

I've tried several other things.

https://drive.google.com/open?id=1NhMGCsXke0F1x9cUjoXPorR-F9dh8jiv
jarek



Joined: Oct 22, 2007
Posts: 744

PostPosted: Jul 21, 2019 7:13 PM    Post subject:

I think you need Buffer. It can remember input value(s) and you can trigger it to resend according to specified mode.
EMebane



Joined: Apr 15, 2019
Posts: 73

PostPosted: Jul 22, 2019 12:10 PM    Post subject:

Great, that does the trick. thanks.
Reply to topic