Sets a burst on/off tag based on the value of the trigger input.
This block takes two inputs, a signal stream on the input stream 0 and a trigger stream of shorts on input stream 1. If the trigger stream goes above 0, a tag with the key “burst” will be transmitted as a pmt::PMT_T. When the trigger signal falls below 0, the “burst” tag will be transmitted as pmt::PMT_F.
The signal on stream 0 is retransmitted to output stream 0.
Constructor Specific Documentation:
Build a burst tagger gnuradio/blocks.
Parameters: | itemsize – itemsize of the signal stream on input 0. |
---|
For the false burst tag, change the key name to and a new value of .
For the true burst tag, change the key name to and a new value of .
Bit bucket that prints out any tag received.
This block collects all tags sent to it on all input ports and displays them to stdout in a formatted way. The parameter is used to identify which debug sink generated the tag, so when connecting a block to this debug sink, an appropriate name is something that identifies the input block.
This block otherwise acts as a NULL sink in that items from the input stream are ignored. It is designed to be able to attach to any block and watch all tags streaming out of that block for debugging purposes.
The tags from the last call to this work function are stored and can be retrieved using the function ‘current_tags’.
Constructor Specific Documentation:
Build a tag debug block
Parameters: |
|
---|
Returns a vector of tag_t items as of the last call to work.
Set the display of tags to stdout on/off.
A file sink that uses tags to save files.
The sink uses a tag with the key ‘burst’ to trigger the saving of the burst data to a new file. If the value of this tag is True, it will open a new file and start writing all incoming data to it. If the tag is False, it will close the file (if already opened). The file names are based on the time when the burst tag was seen. If there is an ‘rx_time’ tag (standard with UHD sources), that is used as the time. If no ‘rx_time’ tag is found, the new time is calculated based off the sample rate of the block.
Constructor Specific Documentation:
Build a tagged_file_sink block.
Parameters: |
|
---|