I’m wonderig if this is really feasible or not. I’m interfacing to a machine where I get basic order information such as OrderName, Quantity, etc via tcpip. These orders are planned at the machine GUI, and have nothing to do with FPMI. The operators plan similar orders in FPMI though, and I run them FIFO style.
I would prefer to be able to use the names coming from the machine, but I can’t be sure they will use the same names everywhere. For instance, they may call and order “MAIN_3” at the machine, but “Main 3” at FPMI. Knowing that Python is a pretty good tool for handling strings, I thought I should be able to somehow match orders coming from the machine with what that have planned. So, “MAIN_3”, “main 3”, and “MAIN 03” should all be interpreted as the same order, but not “Main 30”. I found some cool soundex algorithms on the net, but wasn’t sure if that is the right way.
Is this worth a try? Or destined for failure?