Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Reading external data (stdin? socket ? pipe?)

$
0
0

@SFR75 wrote:

Hello guys and girls,

I'm building a small interactive installation, which is mostly audio, but I wanted to add some visuals.
So I decided to go with openFrameworks.

It all runs on Raspberry Pi (raspbian) and it's pretty simple.

There is a server, which outputs coordinates (to stdout for now) and I need to place a rectangular
based on this coordinate. So I need openFramework somehow to recieve data from this other unix process.

Ideally I would like to run it using pipe "myServer | myOpenFramework".. that would mean that
openFramework needs to do a nonBlocking read from STDIN.

Is it possible to do in openFramework ?

Thank you much in advance,

M

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles