关于USRP和gnuradio的数据类型
来源:互联网 发布:方舟生存进化帧数优化 编辑:程序博客网 时间:2024/06/16 00:03
Table of Contents
- Introduction to Streaming
- Link Layer Encapsulation
- Data Types
- The host/CPU data type
- The link-layer data type
- Conversion
Introduction to Streaming
The concept of streaming refers to the transportation of samples between host and device. A stream is an object that facilitates streaming between host application and device. An RX stream allows the user to receive samples from the device. A TX stream allows the user to transmit samples to the device.
Link Layer Encapsulation
The VITA49 standard provides encapsulation for sample data across a link layer. On all second generation hardware (and later), samples are encapsulated into VRT IF data packets. These packets also provide sample decoration such as stream time and burst flags. Sample decoration is exposed to the user in the form of RX and TX metadata structs.
The length of an IF data packet can be limited by several factors:
- MTU of the link layer: network card, network switch
- Buffering on the host: frame size in a ring buffer
- Buffering on the device: size of BRAM FIFOs
Data Types
There are two important data types to consider when streaming:
- The data type of the samples used on the host for processing
- The data type of the samples sent through the link-layer
The host/CPU data type
The host data type refers to the format of samples used in the host for baseband processing. Typically, the data type is complex baseband such as normalized complex-float32or complex-int16.
The link-layer data type
The link-layer or "over-the-wire" data type refers to the format of the samples sent through the link. Typically, this data type is complex-int16. However, to increase throughput over the link-layer, at the expense of precision, complex-int8 may be used.
Conversion
The user may request arbitrary combinations of host and link data types; however, not all combinations are supported. The user may register custom data type formats and conversion routines. See convert.hpp for further documentation.
TODO: provide example of convert API
- 关于USRP和gnuradio的数据类型
- 基于linux平台的GnuRadio+USRP环境搭建
- gnuradio 中USRP收发速率
- usrp烧写固件支持gnuradio/labview
- USRP系列之GNURadio安装
- gnuradio+USRP实现OpenBTS 5.0安装
- gnuradio 数据速率和输出的问题
- WiKi上关于USRP使用的一些问答(一)
- WiKi上关于USRP使用的一些问答(二)
- 基于GNU Radio和USRP的认知无线电平台研究
- USRP内部的寄存器
- usrp的API接口
- 2.USRP的配置
- gnuradio的安装问题
- USRP
- gnuradio
- gnuradio之flowgraph和top_block
- 关于C指针和数据类型的测试
- struts2动态方法调用
- Linux内核源码分析方法
- 大量 vcproj 构建顺序管理工具的实现(二)
- 字符串总结
- 消除当前定义的宏,来重新定义宏的值 从而让cocos2d-x变为非调试模式
- 关于USRP和gnuradio的数据类型
- 打印文件的最后K行(C++和Java实现)
- 浙江大华2012笔试题+答案解析
- 关于C++中的友元函数的总结
- Shiro标签
- 重温:Spring 的编程式事务管理及声明式事务管理
- S5PV210平台下uboot移植
- 设置DIV最小高度以及高度自适应(兼容IE6和火狐)
- css定义格式中逗号,空格,冒号,点号的含义