Complete() – Teledyne LeCroy USB Script Decode Manual User Manual
Page 52

46
C
HAPTER
12
CATC Scripting Language for USB
Decoder Primitives
The output of the example is:
Complete()
Complete()
Return value
An integer that should be passed back to the application unchanged.
Comments
This should be called when it has been decided that an input context has been
accepted into a transaction, and that the transaction is complete. The return value
of this function should be passed back to the application from the ProcessData
function. This function could be used to associate the input context with the output
context.
Example
if ( done )
return Complete();
Figure 12-4: Example output for
BeginCellBlock
with red group
collapsed
Figure 12-5: Example output for BeginCellBlock with red group
expanded and blue group collapsed
Figure 12-6: Example output for BeginCellBlock with red group expanded
and blue group expanded
Parameter
Meaning
Default Value
Comments