Computer Access Technology Corporation
IB
Tracer
Verification Script Engine Manual, version 1.0
Page 26 of 35
14.2 EnableOutput()
Enables showing information in the output window.
Format
:
EnableOutput ()
Example:
EnableOutput ( );
14.3 DisableOutput()
Disables showing information in the output window.
Format
:
DisableOutput ()
Example:
DisableOutput ();
15. Common Retrieving functions
This group of functions covers VSE capability to retrieve information from the recorded trace.
15.1 RetrievePktPayload()
Retrieves the packet payload inside the script and makes valid two input context members :
in.Payload
- the bit source of the packet payload and
in.PayloadLength - the length(in bytes of the retrieved packet payload)
Format
:
RetrievePktPayload ()
Example:
RetrievePktPayload ( ); # actualize input context packet payload related members
val = GetNBits( in.Payload, 128, 8 ); # retrieve one byte from packet payload starting
#
from
offset
16
bytes
Remark :