Skip to main content
edited tags
Link
Reinderien
  • 71.1k
  • 5
  • 76
  • 256
Became Hot Network Question
clarify that "single client" is an aspect of the library used rather than of the mentioned protocol
Source Link
J_H
  • 42.3k
  • 3
  • 38
  • 157

I built a controller with 3 rotary encoders to control various parameters of a program i wrote to control a motor. The controller delivers data via usb through serial (Arduino). Originally I used OSCOSC to move the data to the motorprogram, so I implemented the controller as an OSC server and the motorprogram as client. But eventually I needed a second program (in this case an oscilloscope) to be controlled by the rotary knobs as well, and found, that this OSC library can handle only one client at a time. So I set up the controller as an udp server and the other programs as udp clients, that run on their own threads. That was quite a hassle, but I got it working now.

I built a controller with 3 rotary encoders to control various parameters of a program i wrote to control a motor. The controller delivers data via usb through serial (Arduino). Originally I used OSC to move the data to the motorprogram, so I implemented the controller as an OSC server and the motorprogram as client. But eventually I needed a second program (in this case an oscilloscope) to be controlled by the rotary knobs as well, and found, that OSC can handle only one client at a time. So I set up the controller as an udp server and the other programs as udp clients, that run on their own threads. That was quite a hassle, but I got it working now.

I built a controller with 3 rotary encoders to control various parameters of a program i wrote to control a motor. The controller delivers data via usb through serial (Arduino). Originally I used OSC to move the data to the motorprogram, so I implemented the controller as an OSC server and the motorprogram as client. But eventually I needed a second program (in this case an oscilloscope) to be controlled by the rotary knobs as well, and found this OSC library can handle only one client at a time. So I set up the controller as an udp server and the other programs as udp clients, that run on their own threads. That was quite a hassle, but I got it working now.

fix typo
Source Link
J_H
  • 42.3k
  • 3
  • 38
  • 157

I built a controller with 3 rotary encoders to control various parameters of a program i wrote to control a motor. The controller delivers data via usb through serial (Arduino). Originally I used OSC to move the data to the motorprogram, so I implemented the controller as an OSC server and the motorprogram as client. But eventually I needed a second program (in this case an oscilloscope) to be controlled by the rotary knobs as well, and found, that OSC can handle only one client at a time. So I set up the controller as an udp server and the other programs as udp clients, that run on their own threads. That was quite a hazzlehassle, but I got it working now.

I built a controller with 3 rotary encoders to control various parameters of a program i wrote to control a motor. The controller delivers data via usb through serial (Arduino). Originally I used OSC to move the data to the motorprogram, so I implemented the controller as an OSC server and the motorprogram as client. But eventually I needed a second program (in this case an oscilloscope) to be controlled by the rotary knobs as well, and found, that OSC can handle only one client at a time. So I set up the controller as an udp server and the other programs as udp clients, that run on their own threads. That was quite a hazzle, but I got it working now.

I built a controller with 3 rotary encoders to control various parameters of a program i wrote to control a motor. The controller delivers data via usb through serial (Arduino). Originally I used OSC to move the data to the motorprogram, so I implemented the controller as an OSC server and the motorprogram as client. But eventually I needed a second program (in this case an oscilloscope) to be controlled by the rotary knobs as well, and found, that OSC can handle only one client at a time. So I set up the controller as an udp server and the other programs as udp clients, that run on their own threads. That was quite a hassle, but I got it working now.

added 2 characters in body; edited tags; edited title
Source Link
toolic
  • 15.8k
  • 6
  • 29
  • 217
Loading
Source Link
Loading