Jump to content

Event DataRecorder.FmtPacket: Difference between revisions

From Flowcode Help
Created page with "{| class="wikitable" style="width:60%; background-color:#FFFFFF;" |- | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | File:Fc9-comp-macro.pn..."
 
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FmtPacket'''
| width="90%" class="mtx-class-macrohead" | '''FmtPacket'''
|-
|-
| colspan="2" | Sent when a %e is read in a format string when decoding a packet 
| colspan="2" | Sent when a %e is read in a format string when decoding a packet 
Line 42: Line 42:
| colspan="2" | The format string to return 
| colspan="2" | The format string to return 
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - Non-zero to claim the packet, zero for Flowcode to add a packet automatically
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u32-icon.png]] - ULONG
| width="90%" style="border-top: 2px solid #000;" | ''Return''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|-
| colspan="2" | Non-zero to claim the packet, zero for Flowcode to add a packet automatically 
|}
|}
Details on using Event Macros can be found here: [[Simulation Events|Event Macros]]





Latest revision as of 14:13, 13 July 2026

FmtPacket
Sent when a %e is read in a format string when decoding a packet 
- HANDLE StreamH
The scope being decoded 
- LONG TimeOffset
The -ve time-reference of the start of the overlay packet 
- ULONG Duration
The time duration the packet of the overlay packet 
- BYTE[] Data
The data packet to be decoded 
- ULONG Bits
The number of bits (not bytes) in Data[] 
- ULONG EventId
A event identifier to help distinguish decodes 
- STRING Result
The format string to return 
- ULONG Return
Non-zero to claim the packet, zero for Flowcode to add a packet automatically 


Details on using Event Macros can be found here: Event Macros


Detailed description

Examples