I'm surprised no one had pointed out LabVIEW[0]. It's a graphical programming language that would be very easy to implement the concepts here with. It is proprietary, but worth a look if you're interested in applying this.
Full disclosure, I used to work for National Instruments, hence my familiarity with it.
Full disclosure, I used to work for National Instruments, hence my familiarity with it.
[0]: https://en.m.wikipedia.org/wiki/LabVIEW