How do I get run time or system time from my Speedgoat target computer in R2020b?

35 views (last 30 days)
I'm upgrading from R2019a to R2020b and I can't find analogous blocks to the "Elapsed Time" and "Time Stamp Delta" blocks to get run time or clock time from my SLRT target computer.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Nov 2021
Edited: MathWorks Support Team on 23 Nov 2021
The IEEE 1588 Read Parameter block provides the necessary functionality. This block is designed to get information from a running PTP client on the target computer, but it can read the system time even if the PTP client is not running. To use this block to measure system time, set "Parameter to read" to "System time (nanoseconds)". For more information about the Read Parameter block, see the link below:

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!