Skip to main content

long signal names in snooper list window - Community / Test Automation - Lauterbach Support

0

long signal names in snooper list window Awaiting Agent

Hi, I am trying to use the lauterbach fantastic feature "Snooper" to log the changes on some signals and save this log for post processing.
So, let me explain the steps:
1. Trace.METHOD SNOOPer
2. SNOOPer.init
3. SNOOPer.mode.changes ON
4. SNOOPer.SELect V.Range(signal1) V.Range(signal2) ....
5. SNOOPer.ListVar signal1 signal2 ...
6. PRinTer.FILE output.txt ASCII
7. WinPRT /ALL

since some signals name is long, the name of the signals dumped in the text file is cropped, I have to manually increase the size of the varname column.

So, my question is: is there an automated way to dump all data with full signal name without any manual interaction?

I am using trace32 25.2 version

Comment (1)

Khaled Jmal

Hello Ahmed,

you can use the command WinTABS to adjust the display before calling SNOOPer.ListVar

WinTABS takes as arguments the widths of column 1, 2,...

The first column corresponds to the variable name in SNOOPer.ListVar. You do not have to provide the size of all columns

Moreover, I recommend using WinPrint.< cmd > instead of WinPRT

Example:

...

PRinTer.FILE output.txt ASCII
WinTABS 100.
WinPrint.SNOOPer.ListVar signal1 signal2 ...

Regards,

Khaled


Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image