Skip to main content
DGran.3
Associate II
Jun 15, 2022 3:58 AM UTC
Question

Why won't snapshot mode work for me?

I have instrumented my code as per the documentation: added dataacq.c and dataacq.h, called DumpTrace().

I do not receive any errors in STM32CubeMonitor however msg.payload.data contains only x values when I use snapshot mode. When I use direct mode there are y values.

What could cause this?

This topic has been closed for replies.

2 replies

Richard.Chvr
ST Technical Moderator
Jun 23, 2022 11:06 AM UTC

Hello @DGran.3​ 

Does msg.payload contains Y value when snapshot is not enabled?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
DGran.3
DGran.3Author
Associate II
Jun 23, 2022 11:20 AM UTC

By disabled you mean when I use direct mode instead of snapshot mode?

Yes I get y values ​in direct mode