Communicate with an external device over serial protocol
-
- Posts: 27
- Joined: Wed Nov 14, 2018 6:10 pm
Communicate with an external device over serial protocol
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.
-
- Posts: 775
- Joined: Tue Dec 04, 2012 3:53 pm
- Location: INRIA Rennes, FRANCE
Re: Communicate with an external device over serial protocol
Hi, you need to either write a new box, or use something like Python box, and then code the sending in python.
Cheers,
Jussi
Cheers,
Jussi
-
- Posts: 27
- Joined: Wed Nov 14, 2018 6:10 pm
Re: Communicate with an external device over serial protocol
Hey ! I went with the latter. I just wondered if there was something else I didn't know about.
Thank You
Thank You