beautypg.com

User-defined commands, Efined, Ommands – Teledyne LeCroy User-Defined Decoding (UDD) Advanced Script Language (ASL) Reference Manual User Manual

Page 5

background image

2

User-Defined Commands

User-defined commands help you add additional decoding to viewer. For example, if you have a
new command with a vendor opcode, you can use a user-defined script.

Note: If you do not use a user-defined script, the viewer does not know the new opcode and
displays "unknown command".

To allow viewer to know a new opcode:

1. Write a user-defined script with decoding of the new command and save the script file as an *.asl
file.

2. Go to Configuration > User defined Decoding menu and add the script file
Using the check boxes, you can specify scripts for SCSI commands, ATA commands, SSP frames,
STP frames, and SMP frames (one script for each one).


When you open a trace file that contains the new opcode, the application compiles the script file.