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

a RubyEdit module, inputting and exploiting a Bus

For general discussion related FlowStone

a RubyEdit module, inputting and exploiting a Bus

Postby steph_tsf » Fri Feb 07, 2020 7:32 pm

Currently, a "Ruby bus" search on this forum, only returns 18 occurrences.

Page 143 of the Flowstone User Guide (version 3.0.2) there is a short example consisting on a RubyEdit module, generating a hash as "Value" considered as local bus, along with another RubyEdit module that's inputting such hash seen as "Value", such RubyEdit module getting able to read and exploit the new "Values".

Page 95 of the Flowstone User Guide (version 3.0.2), states that "Value" data type can refer to any Ruby object. Apparently, the "black Bus" data type, is an object that the "Value" data type can refer to.

What to do for allowing a vast amount of existing "Bus Extract" Flowstone components, to read such "Value" local bus?
What to do for allowing a RubyEdit module, to read a "black Bus" that's emanating from a "Bus Create" Flowstone component?

Any suggestion or example will be highly appreciated.
steph_tsf
 
Posts: 249
Joined: Sun Aug 15, 2010 10:26 pm

Re: a RubyEdit module, inputting and exploiting a Bus

Postby tulamide » Sat Feb 08, 2020 4:10 am

I think you misunderstood the whole thing.

- A RubyValue output or input can transfer each and every Ruby object.
- A black bus output or input can only operate with the bus prims.

They are not related to each other.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2687
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: a RubyEdit module, inputting and exploiting a Bus

Postby steph_tsf » Sat Feb 08, 2020 8:44 am

Well spotted. Thanks. I remain thus under the impression that one cannot convert a Flowstone bus (a black Bus), into a Ruby "value" (actually a hash) to be exploited by a RubyEdit module. And, I remain under the impression that one cannot convert a Ruby "value" (actually a hash), into a Flowstone bus (a black Bus). Am I right now?
steph_tsf
 
Posts: 249
Joined: Sun Aug 15, 2010 10:26 pm

Re: a RubyEdit module, inputting and exploiting a Bus

Postby trogluddite » Sat Feb 08, 2020 1:23 pm

steph_tsf wrote:Am I right now?

Yes; as tulamide says, they're two separate concepts - the User Guide example would be better described as passing a Ruby "container"; calling it a "bus" is a rather confusing metaphor, IMHO. Also note that passing Ruby objects through a "black" bus may not work (it fails in FS 3.0.6 at least). The 'Bus Create' and 'Bus Extract' primitives will allow connectors to be of Ruby Value type (V), but the Ruby objects do not get transmitted or received by the bus. I assume this is a bug rather than by design!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: a RubyEdit module, inputting and exploiting a Bus

Postby steph_tsf » Sat Feb 08, 2020 3:35 pm

Thanks for the confirmation. As you may know, the time passing, one tends to have huge expectations, and one lazily assumes that everything is compatible with everything. It takes time for understanding the contours and the comfort zones of the various software development tools that Flowstone (seen as a whole) is relying on: graphically sketching a digital signal processing flow, creating a leading class GUI, adding extremely concise procedural code whenever required (Ruby), and adding powerful SSE pseudo-assembler DSP routines whenever required.
steph_tsf
 
Posts: 249
Joined: Sun Aug 15, 2010 10:26 pm


Return to General

Who is online

Users browsing this forum: No registered users and 22 guests