Jump to content
  • 0

Script for Waveforms->Protocol and filtering some characters


kaamil1984

Question

Hi guys,

I'm spying communication between microcontroller and modem.

My Analog Discovery 2 with WaveForms does the job, but I want to filter out (or replace) some non-printable characters and continuously observe "transformed" version somewhere.

I have no idea how to get data from Spy tab.

Is it possible?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

I have tried something similar, but when I put ReceiveArray and Print in a while loop everything looks freezed.

So I came to the conclusion that script window (due to lack of async support?) is not able to print before script ends.

Is that true? Or maybe there is something that can wake up that window from inside loop?

I'm working with modem and communication is slow, sometimes there are few second pauses between request and response. I would like to see "live data" instead of post-mortem analysis :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...