Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ELEN90089
2023
documentation
Wiki
debugging
Changes
Page history
New page
Templates
Clone repository
initial copy from 2022 documentation wiki
authored
2 years ago
by
Glenn Bradford
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
debugging.md
+33
-0
33 additions, 0 deletions
debugging.md
with
33 additions
and
0 deletions
debugging.md
0 → 100644
View page @
7f268110
# Debugging
## Contents
1.
[
File Sink and Source
](
#file-sink-and-source
)
## File Sink and Source
GNU Radio flowgraphs are real-time signal processing applications that typically
operate on continuous streams of data. This can make it difficult to investigate
signal characteristics or debug unexpected behaviour. The GNU Radio
*File Sink*
and
*File Source*
blocks are a handy way to allow offline investigation of the
signal at various points in your flowgraph using Python scientific libraries or
MATLAB.
<div
align=
"center"
>


</div>
When included in your flowgraph, the
*File Sink*
block will save data samples
to a binary file that can then be loaded as an array in Python or MATLAB.
Similarly, a known test waveform can be generated in Python or MATLAB and then
fed into your flowgraph using the
*File Source*
block. The combination of sink
and source can also be used to save a waveform for latter playback.
See the following GNU Radio documentation pages to understand these blocks and
how to binary waveforms files can be loaded/created in MATLAB and Python.
-
[
GNU Radio File Sink
](
https://wiki.gnuradio.org/index.php/File_Sink
)
-
[
GNU Radio File Source
](
https://wiki.gnuradio.org/index.php/File_Source
)
This diff is collapsed.
Click to expand it.