Page 1 of 1

Communicate with an external device over serial protocol

Posted: Wed Dec 12, 2018 3:44 pm
by RadhaKumari
I have an external device that can receive instructions over serial protocol. I have a C++ code , whose functions can be used to send instructions to the device(the code encodes parameters to bits and corresponding recognizable commands and has functions to send instructions directly taking in parameters). I want to control the device from open vibe, i.e., send instructions to it after a threshold has been met. I have the present scenario giving 1s or 0's as in a matrix, indicating whether the threshold has been met or not. Where should I start from here? Do I need to program a new algorithm or box? I need to take input parameters from the user in open vibe itself and use it to send instructions.

Re: Communicate with an external device over serial protocol

Posted: Wed Dec 19, 2018 6:38 am
by jtlindgren
Hi, you need to either write a new box, or use something like Python box, and then code the sending in python.

Cheers,
Jussi

Re: Communicate with an external device over serial protocol

Posted: Wed Dec 19, 2018 10:38 am
by RadhaKumari
Hey ! I went with the latter. I just wondered if there was something else I didn't know about.

Thank You