Nate,
Many things have changed!!!
All of them, I might point out, are due to bugs in this Labview. For example the update rate is now 188 microsec as opposed to 125. The resolver is 1/4 as sensitive as it used to be. The soft switches no longer decelerate the motor, they allow it to keep right on going. The kill and decelerate stop commands no longer remove the old target position, so when you start up after an emergency stop the motor continues in the very same dangerious direction it was originally moving...is that enough or shall I continue?
But if your refering to that piece of code, No, its the same as it was. I've taken out the "stopprogram.vi", I've put both programs in separate .vi's, and ONCE I've managed to load both on board at the same time without an error. Once the stop program .vi is removed the error that now appears ONLY IN MAX i -70040 "The current device
is reserved for OnBoard Programs". On the one occasion that I got both in cleanly the motor ran to the home position, about 37.80 deg and stopped....it should have stopped at 60 degrees where it was sent.
If I do get errors, I can't run the program with the start.vi, but on one other occasion I've gone into MAX and told the program to run. That time it went to home and began to osscilate wildly.
Jim Fee