beautypg.com

Teledyne LeCroy Protocol Analyzers File-Based Decoding User Manual User Manual

Page 42

background image

Chapter 11: Primitives

File-based Decoding User Manual

36

LeCroy Corporation

FormatEx()

FormatEx (string>, list>)

Parameter

Meaning

Default

Value

Comments

format_string string

arg_list list

Used as the list of parameters in the
function call.

Support
Supported by all LeCroy analyzers.

Return value
Formatted string.

Comments
FormatEx
writes data to a string.
Example

str = "String";
i = 12;
hex_i = 0xAABBCCDD;
...
formatted_str = FormatEx( "%s, %d, 0x%08X", str, i, hex_i ); 
# formatted_str = "String, 12, 0xAABBCCDD"