Pretty much exactly what Random said. I use something very similar to notify CMM operators that a part is out of spec and which way. Roughly it's:...