Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Creating a "Smart" Label?

For general discussion related FlowStone

Creating a "Smart" Label?

Postby mwhlr » Thu Nov 26, 2015 11:36 pm

Hi there,

I'm trying to create a label for an animated knob, which is controlling a multi-oscillator.
I'd like the label to change based on the 5 steps of a knob (or the type of waveform).

I have taken the output of the max/min module of the animated knob component, giving me values 0 - 4.
I have wirelessly connected this to the module which deals with the knob's label found within the interaction module. The input value is routed to a selector with the names of the 5 possible waveforms as inputs. The output of the selector is then connected to the "text" input of the Text Draw component.

This all works... except that the label does not change immediately. Everything else is working, but after turning the knob, I need to click away from the screen (or refresh it?) before I see the label actually changing.

Do I need to use the ReDraw component to refresh the label? If so, how would I make the change of the selector into a trigger?

Any advice would be appreciated.

Mwhlr
mwhlr
 
Posts: 7
Joined: Sat Nov 14, 2015 12:51 pm

Re: Creating a "Smart" Label?

Postby tulamide » Thu Nov 26, 2015 11:40 pm

You are right. You need a redraw action. You could connect the output of the selector with the redraw prim's trigger input.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Creating a "Smart" Label?

Postby mwhlr » Fri Nov 27, 2015 12:01 am

tulamide wrote:You are right. You need a redraw action. You could connect the output of the selector with the redraw prim's trigger input.


That's great. It seems very obvious now. I had tried this initially, but had no luck. It turns out I had the ReDraw primitive connected incorrectly. ^^;

Thanks a lot!
mwhlr
 
Posts: 7
Joined: Sat Nov 14, 2015 12:51 pm


Return to General

Who is online

Users browsing this forum: No registered users and 45 guests