
Teledyne LeCroy
Sierra Trainer Generation Commands
472
Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
@varName1 = COUNT_REC_RESOURCE_OUTPUT_A
@varName1 = COUNT_REC_RESOURCE_OUTPUT_B
@varName1 = COUNT_REC_RESOURCE_OUTPUT_C
@varName1 = COUNT_REC_RESOURCE_OUTPUT_D
@varName1 = COUNT_REC_RESOURCE_OUTPUT_E
@varName1 = COUNT_REC_RESOURCE_OUTPUT_F
Syntax
for
clearing
(resetting)
counters
is:
CLEAR_REC_RESOURCE_OUTPUT_A
CLEAR_REC_RESOURCE_OUTPUT_B
CLEAR_REC_RESOURCE_OUTPUT_C
CLEAR_REC_RESOURCE_OUTPUT_D
CLEAR_REC_RESOURCE_OUTPUT_E
CLEAR_REC_RESOURCE_OUTPUT_F
Example:
CLEAR_REC_RESOURCE_OUTPUT_A
While(@Counter < MaxPrimitiveCount) {
… @Counter = COUNT_REC_RESOURCE_OUTPUT_A … }
5.13.8 Procedure Definition
Procedures allow creating simple syntaxes for complex reusable parts in scripts. You can
write such code once as a procedure and use everywhere required.
Procedure
definition
syntax
is:
procedure
procedureName
{
...
}
Calling
procedure
syntax
is:
Call
procedureName
5.14 Sierra Trainer Generation Commands
5.14.1 General Commands
IDLE (n)
Generator will insert n idle
DWORD
s into the
generation stream.
CLEAR_CREDIT_AVAIL
This commands clears the credit
established with the command
WF_CREDIT_AVAIL. (See WF_CREDIT_AVAIL
in following section on Wait Commands for
explanation).
RD_ERROR
Generator will insert one idle
DWORD
into
the generation stream, which will
intentionally break RD sequence creating
RD error.
Summary of Contents for Sierra M6-2
Page 37: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 35 Expandability Teledyne LeCroy ...
Page 375: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 373 Interface Teledyne LeCroy ...
Page 436: ...Teledyne LeCroy Scenario Batch Files 434 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...
Page 526: ...Teledyne LeCroy 524 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...