Delta Tau Forums

Full Version: Reading Motion Prog
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My c program receives a message from an HMI and creates a motion program using the Command() function.
is there anyway to read the motion program after it was created from the IDE or any other way?
Use the on-line "list {program buffer}" command to report the contents of the program buffer.
list prog 1
(05-23-2019, 04:43 PM)Eric Hotchkiss Wrote: [ -> ]example:
list prog 1

Hello again,

is it possible to read the program contents also in C?

If not, what would be the best way to get it?

We send trajectories in a simple protocol to the PMAC.
its always a tupel of 3:
[movetime, axis1 endposition, axis2 endposition]

somebody wanted the possibility to readout a trajectory (although they have to send it first, so they should know what they have sent...)

So I'm facing either "parse the output of 'list prog x'" or perhaps there exists and easier way.
I would rather not parse strings ;)

you can gather curves,record trajectory ,you can try