Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
155
Exercise and Capture
LeCroy Corporation
Creating and Editing Data Blocks as Text
You can create and edit data blocks using a text editor such as Windows
®
Notepad. To
create a data block in Notepad, launch Notepad. Enter a header consisting of [Item1,
Item2, Item3, Item4, Item5] where:
Item1 is the name of the Data Block.
Item2 is the size of the Data Block or the number of bytes in the format.
Item3 is the format of the data (HEX, BIN, ASCII).
Item4 is the group of bytes defined (1, 2, 4, 8 or 16).
Item5 is the direction (LSB or MSB).
Then enter the data in space delimited Hex format and save as a *.txt text file.
Load
Data
To import Text Editor created data, click the
Load
button in the data block definition
dialog to open the Load dialog. Choose a file and click
Load.
Modify existing data.
Save
As
To create a new data block from an existing data block using a text editor, select the data
block to edit from the
Data
Block
Name
list, then click
Save
As
to open the Save As dialog.
Assign a name to the new data block text file and click
Save
.
You can now edit the newly created text file using Notepad or any other text editor, then
import it into the data block definition, as described above.