send data beween applications

For general discussion related FlowStone
User avatar
MyCo
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany
Contact:

Re: send data beween applications

Post by MyCo »

This might work with one sender and one receiver, but you'll post this UDP into your network and every PC in there is going to receive this.
Jay
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: send data beween applications

Post by Jay »

Thanks for this MyCo

I have it working quite well by getting the ip address saved as a txt file within the main exe then loaded in the second application at startup! for my uses it works well as the second exe or dll are launched from the main one!

thanks for the demo and the info MyCo!

it would be great to get the use of sockets from within ruby for this kind of thing or a more complete networking solution in FS

or how about a dedicated interoperability IO buss system so FS creations can talk and work together!

Best Regards
Jay
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: send data beween applications

Post by tester »

MyCo wrote:This might work with one sender and one receiver, but you'll post this UDP into your network and every PC in there is going to receive this.


You right. But maybe there is a partial solution, depending on what bandwidth you use (what and how often you send; it's not streaming thing, yes?). If these are only some driving data (few strings per minute or less), then I would just add a mask inside FS apps, to filter received data. Not effective, but to some degree - usable I guess.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: send data beween applications

Post by RJHollins »

great ideas/suggestions Jay !

I have a project idea that I would like 'inter communication' between 'component' apps ... all within
a single PC. If this could be accomplished with FS, it would greatly influence my design approach.
8-)
User avatar
digitalwhitebyte
Posts: 106
Joined: Sat Jul 31, 2010 10:20 am

Re: send data beween applications

Post by digitalwhitebyte »

MyCo wrote:Yeah broadcast just works with UDP, the problem with UDP is, it's a "send and forget" protocoll. So no matter what you send out, you'll never know if someone even received something.


this can also be used to send the data port ip of the server.
but you have to write a minimum of protocol question - answer.

anyway, here's Win7 on the client side I disconnected the string for ip connector,
it suppose to set the ip to 0.0.0.0 or 127.0.0.0 when it nil ?
Strange but in TCP mode it works.
SoundGuy
Posts: 1
Joined: Mon Dec 23, 2013 5:16 am

Re: send data beween applications

Post by SoundGuy »

Hi all,

I was wondering if someone could help me out a bit? I'm using the "program communication (MyCo).fsm" file posted by MyCo. I set it to receive via UDP and I'm sending it OSC messages.The incoming messages will look something like this "/slider/value 0.63100". I can see the incoming messages but I can't figure out how to setup a knob within Flowstone that will change according to the value received. The values will be floats between 0.0 and 1.0.

If someone could post a couple of examples it would be greatly appreciated. One with just a single knob and perhaps a second example that would detect two different incoming messeges such as "/slider/value1" and "/slider/value2" and adjust the corrisponding knob1 or knob2.

Thank you
KimSteff
Posts: 31
Joined: Tue Dec 20, 2011 9:50 pm

Re: send data beween applications

Post by KimSteff »

I have used the network client <-> server communication. I work fine,, But is a bit complex and will not work if you have other network client <-> server communication going on!

I would use the (one exe saves data, second exe reads them) approce. The "reciever" can read the txt file like every secound for any new info from the first app. This is relativ simple to implement.
User avatar
jjs
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

Re: send data beween applications

Post by jjs »

I allready do the same thing, but then the 2 applications works on one PC.
First application writes the generated data.
And 2nd application reads and displays it. (the idea is to have the 2nd application on a BIG screen)

see: http://sourceforge.net/projects/bs5figh ... =directory
User avatar
chackl
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: send data beween applications

Post by chackl »

Sending data between 2 Programs hase also been a Problem in SynthMaker - but now when flowstone got more and more Options, it was too important to me to get an running solution.

So Flowstone got the Server and Client module and i di an addon for it:
viewtopic.php?f=3&t=2215

Some monthes ago i did a similar with a variable Server that exchanges data P2P. It is also somewere here in der Forum i can not find it now :P

But the shematic i finished today with the Basics will work on one PC OR on more - You are able to use it local or in LAN (Also Internet would be possible with the correct WAN Settings - but the FlowStone-server-module is too unsave at the moment for those kinds of operations)

Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
Post Reply