Virtual Sinks and Sources: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Created page with "A flowgraph with many blocks and connections can be come difficult to analyze visually. '''Virtual Sinks and Virtual Sources''' are blocks which can be used to simplify the look of a flowgraph. ==Connecting Virtual Sinks and Sources== Initially when virtual sinks and sources are added to a flowgraph they are given a white color, which represents that they do not have a data type yet. The data type will be assumed when connected to a block. File:Virtual_sink_source_...")
 
Line 11: Line 11:
[[File:Virtual_sink_source_complex_connection.png]]
[[File:Virtual_sink_source_complex_connection.png]]


Note that the previously white connections are now blue due to the complex type of the Signal Source and QT GUI Time Sink blocks. Add the following blocks and connect them:
Note that the previously white connections are now blue due to the complex type of the '''Signal Source''' and '''QT GUI Time Sink''' blocks. Add the following blocks and connect them:
* Noise Source
* Noise Source
* QT GUI Freq Sink
* QT GUI Freq Sink

Revision as of 22:07, 5 April 2024

A flowgraph with many blocks and connections can be come difficult to analyze visually. Virtual Sinks and Virtual Sources are blocks which can be used to simplify the look of a flowgraph.

Connecting Virtual Sinks and Sources

Initially when virtual sinks and sources are added to a flowgraph they are given a white color, which represents that they do not have a data type yet. The data type will be assumed when connected to a block.

Virtual sink source added blocks.png

Add a Signal Source and a QT GUI Time Sink block to the flowgraph, and connect them accordingly:

Virtual sink source complex connection.png

Note that the previously white connections are now blue due to the complex type of the Signal Source and QT GUI Time Sink blocks. Add the following blocks and connect them:

  • Noise Source
  • QT GUI Freq Sink
  • Virtual Sink
  • Virtual Source

Virtual sink source connection errors.png