Plotting byte-swapped data
Yet Another Terminal :: Serial Communication :: Engineer/Test/Debug
Brought to you by:
maettu_this,
y-a-terminal
Hello,
I'd like to be able to plot out hexadecimal data that is returned to YAT byte-swapped. For example, if I read out a voltage status, I may receive:
5F06
However, the actual hexadecimal value is 065F
(Ultimately, this would also be divided by 4096 and multiplied by 2.5 to get a value of 0.995V)
I couldn't seem to figure out a way to accomplish position-swapping with RegEx - is there a way to perform this task?
Thanks!
Hi,
As far I know this indeed is not possible with Regex. And YAT doesn't provide any means to inject such logic yet. But with scripting this could become available as post-processing scriptlet.
Best regards,
Matthias
Last edit: Maettu 2023-08-22