beautypg.com

Example 2: insert dword in advanced mode, Creating global rules – Teledyne LeCroy SierraFC M8-4 User Manual User Manual

Page 298

background image

Teledyne LeCroy

Scenario Examples

298

 

 

SierraFC M8‐4 Protocol Analyzer User Manual

Example 2: Insert DWORD in Advanced Mode

In this example, the Global Rules area of the Scenario waits for a Custom Frame then 
inserts a Dword inside the frame. In Sequence 0 and State 0 it waits for an FCP SCSI 
Command, SBC3; inserts a Dword inside the frame, beeps for a duration of 50 ms and 
stops the Scenario.

Creating Global Rules

This section describes using the Global Rules area of the Scenario for this example. Recall 
that the Global Rules area defines a single test state. The Global Rules do not have the 
capacity for multiple states, so that area of a Scenario cannot change state.

In terms of FC InFusion testing, a state defines test “behavior.” In this context, behavior is 
“waiting” for an Event and responding with an Action or set of Actions that happen 
simultaneously. 

Keep in mind that a test state you implement with the Global Rules operates in parallel 
with the active test state of each sequence in the Scenario. 

In effect, FC InFusion lets you do up to three line tests at the same time. You can do one 
test with the Global Rules and a separate test with each sequence you create. You can 
have up to two sequences in a Scenario. 

Perform the following steps to create this Scenario:

1. Select New Scenario from the File menu or click the New Scenario icon in the 

toolbar of the main window or the File Library.

2. Click on the Scenario Name link and enter the Scenario Name: Insert, Direction of 

traffic change and Max. Removable DWORDs in the Scenario Properties dialog. Click 
OK.

3. Click Direction for Traffic Changes to choose the direction of traffic to monitor the 

selected Event (the default is From P1/P3, which is selected for this example). 

4. In the Global Rules area, click the link see the 

following figure.