Several years ago I created some custom algorithms and code for processing CNC files (basically ways of controlling automated machines for manufacturing). Now, years later, I found suddenly that my small side project has come to the attention of one of the larger CNC companies and they contacted me and are very interested in it. I am now planning to visit three different companies to show them my project and see if they're interested in buying/licensing it.
So I will visit the companies, show off my software, explain the algorithms, demonstrate the way they can gain some market from it, and then go into salesman mode and see if they're willing to throw money at me to take the ideas, license them, hire me as a consultant, whatever seems to be best for me.
Finally, my question: How do I protect myself from the obvious problem of giving a great demo, convincing the company that I have some new tech they'd be perfect for, but find that a month later they're just going to simply steal the ideas I explained and develop their own version themselves?
The obvious answer is some kind of NDA for me to get the company to sign. The second obvious answer is to get an IP lawyer to gird me in legal armor and preparation. I plan to do both of these steps.
But what else should I do before discussing new technology with a company which would really really like to have it, and could steal it if given enough detail? I will get the legal advice, but now I need programmer experience, especially if you've every sold software/algorithms/products to another company.
Followup details: The main asset is a set of algorithms.. I could teach the technical guys the basic framework in one day and from that any competent programmer could fill in the details. This is why I'm worried that the sales pitch may end up being too revealing! Also, my problem is not in my ownership or legal rights to my work, this was a solo project I did when I was learning about one machine. I shared my bunch of utilities with another business, and the CNC company rep was visiting and went wild when he saw his machines performing certain procedures so much faster than the company's methods.
My normal job is a networking consultant, so this opportunity is almost a surprise to me!