How do I get run time or system time from my Speedgoat target computer in R2020b?
31 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 22 Oct 2020
Modifié(e) : MathWorks Support Team
le 23 Nov 2021
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.
Réponse acceptée
MathWorks Support Team
le 23 Nov 2021
Modifié(e) : MathWorks Support Team
le 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:
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!