beautypg.com

Senddataframes(), Rames, 18 senddataframes() – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 43

background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





9.18 SendDataFrames()


This function specifies more precise tuning for Data frames.

Format:

SendDataFrames(dest_id, src_id, subtype)


Parameters:

dest_id

This parameter specifies that only Data frames containing Destination Id with the
same value are sent. (The value_ANY means any Destination Id is accepted.)


src_id

This parameter specifies that only Data frames containing Source Id with the
same value are sent. (The value_ANY means any Source Id is accepted.)

sub_type

This parameter specifies that only Data frames having SubType field with the
same value are sent. (The value_ANY means any SubType is accepted.)

Example:

# Send any Data frames.

SendDataFrames();

# Send Data frames having Destination Id 0xBEEF.

SendDataFrames (0xBEEF);

# Send Data frames having Destination Id = 0xBEEF and Source Id = 0xAABB.

SendDataFrames (0xBEEF, 0xAABB);

# Send Data frames having Frame SubType = 14.

SendDataFrames (_ANY, _ANY, 14);

Page 43 of 95