Hello KangZahihao,
Regarding your first question:
The ctrlX COREvirutal is not real time capable. The times you are measuring are not really meaningful. If you want to measure cycle times you would have to do that on a real ctrlX CORE. Also the scheduler on the ctrlX COREvirtual runs in debug mode, because of that. And also the Hardware Watchdog is disabled.
Regarding your second question:
No unfortunately I don't know any other way to trace your internal values while running on the ctrlX CORE.
Best regards,
Nick
... View more