Sendcommandframes(), Ommand, Rames – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 42: 17 sendcommandframes()

Advertising
background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





9.17 SendCommandFrames()


This function specifies more precise tuning for Command frames.

Format:

SendCommandFrames(dest_id, src_id, subtype)


Parameters:

dest_id

This parameter specifies that only Command 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 Command 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 Command frames having SubType field with the
same value are sent. (The value_ANY means any SubType is accepted.)

Example:

# Send any Command frames.

SendCommandFrames();

# Send Command frames having Destination Id 0xBEEF.

SendCommandFrames (0xBEEF);

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

SendCommandFrames (0xBEEF, 0xAABB);

# Send Command frames having Frame SubType = 14.

SendCommandFrames (_ANY, _ANY, 14);

Page 42 of 95



Advertising