I use NI 7334 when I create the home find by Motion Assistant to LabVIEW and then I run it, it stop at home but when I copy the code to my program and then I run my program, it no stop at home, it will stop at its start position.
When you copied it over, did you make sure all of your references are correctly set? If the code in isolation is working, then there might be some problem in the settings that were not carried through.
Thank you for your suggestion, I found the setting of master code with copy code mismatch, I set copy code to the same master code and then I run copy code OK.