Add System Time: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(initial creation)
 
(Explain UNIX time (I know, I know.))
Line 2: Line 2:
<code>Added in 3.10</code><br>
<code>Added in 3.10</code><br>


This block adds a user specified key to PDU dict containing the boost system time in seconds since unix epoch.
This block adds a user specified key to PDU dict containing the boost system time in seconds since unix epoch (00:00:00 UTC on 1 January 1970).


== Parameters ==
== Parameters ==

Revision as of 15:46, 13 December 2021

Adds system time to a PDU's metadata.
Added in 3.10

This block adds a user specified key to PDU dict containing the boost system time in seconds since unix epoch (00:00:00 UTC on 1 January 1970).

Parameters

(R): Run-time adjustable

Key
default: "system_time"

Messages

Inputs

pdu
input message

Outputs

pdu
output message

Example Flowgraph

This flowgraph can be found at [1]

Pdu tools demo fg.png

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
[2]