Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I'm writing the software for a small project and I'm stuck.
My program controls a stepper motor and records the current in a trace.
As soon as the test is finished, the content of the trace should be deleted and the time should be reset to 0.
However, I don't know how to do that.
In the "TraceManager" library there is the "TraceState" function with a "Reset" method.
I suspect that this can be used to reset the trace. However, I haven't been able to do that until now.
Does one of you have an idea?
Regards Carlo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, everyone
I'm writing the software for a small project and I'm stuck.
My program controls a stepper motor and records the current in a trace.
As soon as the test is finished, the content of the trace should be deleted and the time should be reset to 0.
However, I don't know how to do that.
In the "TraceManager" library there is the "TraceState" function with a "Reset" method.
I suspect that this can be used to reset the trace. However, I haven't been able to do that until now.
Does one of you have an idea?
Regards Carlo