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

small useful gadgets

For general discussion related FlowStone

small useful gadgets

Postby tester » Sun Jun 09, 2013 1:55 pm

There was a "tradition" on SM forum, to share gadgets, so here it is. Small - but useful tools.

- circular counter: useful for making multi-mode buttons, switched back and forth with right/left mouse click
- time limiter: useful for making time limited demo apps (it uses it's own counter, not windows time signature)
- multi-function button: left/right click, left/right click-and-hold - useful for multi-mode switches and reseters

More to come. Maybe. ;-)
Attachments
tester's tools - small useful gadgets v001.fsm
(2.61 KiB) Downloaded 941 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: small useful gadgets

Postby Drnkhobo » Mon Jun 10, 2013 7:31 pm

Thanks man! :D :D

Just a question, when you hold-click, is it supposed to increase the count for both (short-click & long-click)?

It does on my machine & thought it strange ( unless u want it that way ) ;)
Drnkhobo
 
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA

Re: small useful gadgets

Postby tester » Mon Jun 10, 2013 8:20 pm

Generally this one is raw one (not updated yet).

Single "just click" can be combined with standard on/off routne (or multiple values via circular counter), and left/right mouse actions can be combined with each other to produce some quick resets or blocking options. When you hold click (left or right) - it sends second delayed separate trigger, that can be used for some cross-resetting/activating of multiple switches. Also - you can change the Ldo/Rdo into Lup/Rup (thus - trigger would be sent after mouse release instead of click). All click types are separate from each other in terms of sending triggers, that why you have 4 outs.

Ah, I see what you mean. Yeah, that's very simple 4-way clicker. This could be modified by using Lup/Rup and some time based blockers. Generally I did not extended it that way, because I use hold-clicks in situation, when right click always acts as reset anyway, so no big deal there, 1 trigger more or less.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: small useful gadgets

Postby tester » Mon Jun 10, 2013 11:40 pm

I just realized that I use circular counters (multi-option buttons) with no preset, so here is an example on how to connect the preset in order to store the values of your choice.

Notice, that this button is not bi-directional; but what is important, is that little feedback module, that receives info from preset, and sets then the counter to correct initial state. If you decide to play with it - remember that a lot inside depends on correct connection order.

Amount of triggers sent from output you can limit with "changed" prim.
Attachments
circ.fsm
(7.77 KiB) Downloaded 904 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: small useful gadgets

Postby philter5 » Tue Jun 11, 2013 12:34 am

thx for sharing tester. :)
philter5
 
Posts: 11
Joined: Fri Nov 12, 2010 9:11 am

Re: small useful gadgets

Postby tester » Tue Jun 11, 2013 1:06 am

...and simple stream based pan (input in 0-1 range) for good night. ;-)

For green version - just exchange prims into green ones.
Attachments
stream-pan.fsm
(1.49 KiB) Downloaded 890 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: small useful gadgets

Postby tester » Sun Jun 16, 2013 4:01 pm

As requested - multifunctional button with L/RDo and L/RUp combined with mouse hold. First version sends trigger on click, second version - on release. Long click (mouse hold) sends trigger through secondary outputs. One minor change from previous version - only one timer is used for both clicks. I guess this limits a little bit fast random clicking - or not. :-)

p.s.: it's possible to include a bunch of gestures too, like click'n'moveup, clic'n'moveleft (range, speed) and so on, so one button can have very many functions. I'm not sure about using dbclick (not tested), probably this will depend on trigger order (to block regular clicks). How many functions are you able to implement (keeping the button simple)? ;-)
Attachments
multibutton-v2.fsm
(2.34 KiB) Downloaded 907 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: small useful gadgets

Postby tester » Tue Jun 25, 2013 2:07 am

Depending on what you do, some operations in your app may require additional confirmation, to avoid accidental clicking, that results in long loads, loosing data, and... sometimes crashing. This one just re-sends trigger if you click "yes".
Attachments
warning.fsm
(1.07 KiB) Downloaded 917 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet


Return to General

Who is online

Users browsing this forum: Google [Bot] and 68 guests