If the RPi has the chops for your hardware problem, you can do it with experix. This is an interpreted language system that provides all the calculations you might want to do, easy-to-use graph drawing, conditional branching, timers, usb, webcam and socket operations, and (of interest to you) abilit...