Communicate with a C++ programme
Hello guys, I'm writing a programme that analyses the micro input and makes some actions according to the analysis. Everything about the analysis is written in Chuck. The analysis of the micro signal gives a single number every 16 ms, and this number has to be sent to the C++ programme but I don't know how I can connect the two parts. This application is highly time-sensitive so I need a fast way of communicating. I had read about these OSC events but it seems it's only for Chuck programmes receiving input from the outside and I want just the opposite. I've also thought about some mechanism of shared memory between the Chuck programme and the C++ programme but I don't see anywhere some way of implementing that with Chuck. Do you have any ideas? Thanks,Guillermo
Guillermo,
You can find an example of outbound OSC messages here:
http://chuck.cs.princeton.edu/doc/examples/osc/OSC_send.ck
Steve
[LSU]http://www.lsu.edu/
Stephen David Beck, PhD
Associate Vice President
Office of Research & Economic Development
Louisiana State University
130 David Boyd Hall, Baton Rouge, LA 70803
office 225-578-5833 | mobile 225-223-0344 | fax 225-578-5983
sdbeck@lsu.edumailto:sdbeck@lsu.edu | lsu.eduhttp://www.lsu.edu/ | research.lsu.eduhttp://research.lsu.edu/
Facebook: LSUOREDhttp://www.facebook.com/LSUORED | Twitter: ORED_LSUhttp://www.twitter.com/ORED_LSU | Instagram: ored_lsuhttp://www.instagram.com/ored_lsu
LSU Research - The Constant Pursuit of Discovery
From:
Steve,
Oh I hadn't found that. Thanks for the fast reply!
Guillermo
From: sdbeck@lsu.edu
To: chuck-users@lists.cs.princeton.edu
Date: Tue, 10 May 2016 20:57:19 +0000
Subject: Re: [chuck-users] Communicate with a C++ programme
Guillermo,
You can find an example of outbound OSC messages here:
http://chuck.cs.princeton.edu/doc/examples/osc/OSC_send.ck
Steve
Stephen David Beck, PhD
Associate Vice President
Office of Research & Economic Development
Louisiana State University
130 David Boyd Hall, Baton Rouge, LA 70803
office 225-578-5833 |
mobile 225-223-0344 | fax 225-578-5983
sdbeck@lsu.edu | lsu.edu | research.lsu.edu
Facebook: LSUORED | Twitter: ORED_LSU | Instagram: ored_lsu
LSU Research - The Constant Pursuit of Discovery
From:
participants (2)
-
Guille Elias Alonso
-
Stephen D Beck