pennells Posted January 24, 2012 Share Posted January 24, 2012 I can't figure out how to call a motion program from a c program. I'm trying to cyclically run a motion program and then rest for a period. Is there an easy way to do this. Link to comment Share on other sites More sharing options...
curtwilson Posted January 25, 2012 Share Posted January 25, 2012 The easiest way is to use the "Command" function in the gplib.h library. You can do it with a literal -- e.g. Command("&1b1r"); or assemble a string variable. Link to comment Share on other sites More sharing options...
pennells Posted January 25, 2012 Author Share Posted January 25, 2012 Thanks, I did find that. The "Command" function is hard to find in any documentation. I found it in a document on Manually Scheduling Threads in Power PMAC. Link to comment Share on other sites More sharing options...
Recommended Posts