Love the new terminal feature in Logic2! I have an issue where with my device ‘\r’ indicates a newline, not a carriage return, is there a way to make the terminal not behave like a standard terminal? In something like miniterm they have a command line option to make line-feeds be carriage returns, it also makes it hard to see if there are multiple transactions in a capture since the most recent just overwrites the last.
At the moment, the terminal is pretty basic for our built-in low level analyzers. We want to improve this in the future, feel free to post feature suggestions to ideas.saleae.com
However, what I would suggest is creating a custom high-level analyzer (HLA).
HLAs are python plugins you can write that let you process the output of analyzers like Async Serial, and produce new frames. However, they can also print anything you want to the terminal using the regular python print() function.
You can learn more about it here:
You could probably build what you’re trying to do in a few minutes! Once it’s working, you can remove the regular serial analyzer output from the terminal by right-clicking it in the list of analyzers in the sidebar and un-checking the stream to terminal option.
For example, if you create a new HLA using the app’s built-in new HLA feature, you should be able to get what you want by replacing the decode function with something like:
def decode(self, frame: AnalyzerFrame):
char = chr(frame.data['data'])
if char == '\r':
Let me know if you need any help!
To anyone keeping tab on this forum post, we have released a solution to this via an Extension, available on our Extensions Marketplace, called “Carriage Return to Line Feed Converter.”
We hope this helps anyone who might still be running into this issue!