How to create own R&D components for Flowstone??

For general discussion related FlowStone
Post Reply
keyjslider1
Posts: 20
Joined: Tue Mar 13, 2018 2:19 pm

How to create own R&D components for Flowstone??

Post by keyjslider1 »

I need urgently a LOOP primitive for green with "while/until" conditional logic (looping stops if condition meets).
All experiments with various schematics, incl. the Ruby-based one failed... I put some posts about this module, also into Flowstoner wishlist...
The only way I see is to create the one by myself.
Has anybody had experience with this? Is there any developer construction kit for Flowstone? Probably, may I derive access to existing module files for editing?
Some hints??
ChrisHooker
Posts: 55
Joined: Tue Jul 13, 2010 10:02 pm

Re: How to create own R&D components for Flowstone??

Post by ChrisHooker »

Hey slider,

Are you looking for a looped counter?
Does the attached schematic work for your needs?

I have 2 counters in this schematic:
- One is green (connected to the conditional), which is currently set to run at Tick25.
- The other is a blue counter (runs at sample rate) that I've previously created and just threw in there for you. (Use the "TotalCounter" output.) It should be easy enough to connect a conditional to the boolean "RUN" control of this one, in the same manner as the green.
Attachments
Looping Counters.fsm
(5.88 KiB) Downloaded 900 times
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: How to create own R&D components for Flowstone??

Post by tulamide »

Also, why is it so difficult for people to accept, that their concept is wrong and not Ruby? I already said it in the other thread, you have to adapt to event-driven code (and Flowstone's implementation of Ruby). Or else you will fail each time you try to use Ruby.
Attachments
conditional_counter.fsm
(696 Bytes) Downloaded 865 times
"There lies the dog buried" (German saying translated literally)
Post Reply