Computer Access Technology Corporation
IB
Tracer
Verification Script Engine Manual, version 1.0
Page 18 of 35
shown in CATC trace) and value equal to
field_value
will be sent ( This field
makes sense only if one of the previous parameters are not equal to _ALL )
field_value
– This parameter specifies that only MADs having a field with
field_name
(how it is
shown in CATC trace) and value equal to
field_value
will be sent ( This field
makes sense only if one of the previous parameters are not equal to _ALL )
NOTE: For fields having size more than 32 bits use raw binary values
( like : ‘0011223344556677FF’) For more information about raw binary
values please refer to CSL Manual.
Example:
SendMAD() # - send all MAD packets – equal to
# SendEvent(
_PKT_MAD
);
SendMAD (SMP_LIDROUTED); # - send SMP LID routed MADs
SendMAD ( _ALL , PORT_INFO); # - send PortInfo for all classes
SendMAD( SMP_DIRROUTED, PORT_INFO, GET_RESP, "GIDPrefix",
'FE80000000000000' );
#
# - send SMP Directed routed GetResp() MADs with PortInfo: GIDPrefix =
FE80000000000000'
SendMAD (SMP_LIDROUTED, PORT_INFO, GET_RESP, “PortState”, PS_ARMED);
#
# - send SMP LID routed GetResp() MADs with PortInfo:PortState = PS_ARMED
NOTE : SMP_LIDROUTED, PORT_INFO , … are constant defined in file VS_constants.inc
in ..\Scripts\VFScripts subfolder of main IBTracer folder.