Hi JB,
Thanks for your reply.
I think I need to clarify my question. In my application, the controller need to be configured programatically because there are two control mode in my application, one is velocity control, another is torque control (Not in different computer). So the motor's primary feedback is encoder for velocity control and analog input for torque control. Once the motor finishes the running in volocity mode, it need to be reconfigured programmatically for torque control while the program is still runing, so it is impossible to do anything in MAX. I found the function confugure controller.flx in FlexMotion. But don't know how to use it. Do you have any example code?
I also tried to use Initialize controller.flx. What
I did is export two different configuration files and wired these two file names to Initialize controller.flx in different place in my program. But it didn't work. Only when Setting Name is empty, the program works.
Did I clear my question?
Thanks.