Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
melos
taskbus
提交
e87ff7e7
taskbus
项目概览
melos
/
taskbus
与 Fork 源项目一致
Fork自
colorEagleStdio / taskbus
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
taskbus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e87ff7e7
编写于
1月 27, 2021
作者:
D
dev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add USRP UHD Examples
上级
d0190a06
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
299 addition
and
1 deletion
+299
-1
modules/uhd/uhd_usrp_continous/uhd_io_continous.cpp
modules/uhd/uhd_usrp_continous/uhd_io_continous.cpp
+1
-1
projetcs/usrp_fmradio.tbj
projetcs/usrp_fmradio.tbj
+298
-0
未找到文件。
modules/uhd/uhd_usrp_continous/uhd_io_continous.cpp
浏览文件 @
e87ff7e7
...
...
@@ -278,7 +278,7 @@ int do_iio(const cmdlineParser & args)
fprintf
(
stderr
,
"Warning: Error code 0x%x was returned during streaming.
\n
"
,
error_code
);
fputs
(
error_string
,
stderr
);
//UHD_DO(uhd_rx_streamer_issue_stream_cmd(rx_streamer, &rx_stream_cmd));
stop_signal_called
=
true
;
//
stop_signal_called = true;
}
}
}
...
...
projetcs/usrp_fmradio.tbj
0 → 100644
浏览文件 @
e87ff7e7
{
"mod0": {
"mod_fm": {
"input_subjects": {
"sound": {
"instance_value": 1,
"tooltip": "Sound Input",
"type": "byte"
},
"tmstamp_in": {
"instance_value": "",
"tooltip": "tmstamp_in",
"type": "uint64"
}
},
"instance": {
"additional_args": "nice=2;",
"exec": "modules/mod_fm",
"instance_value": 1
},
"name": {
"name": "mod_fm"
},
"output_subjects": {
"signal": {
"instance_value": 2,
"tooltip": "FM Signal",
"type": "vector"
},
"tmstamp_out": {
"instance_value": "",
"tooltip": "tmstamp_out",
"type": "uint64"
}
},
"parameters": {
"channels": {
"default": 1,
"instance_value": 1,
"tooltip": "Channels",
"type": "int"
},
"in_spr": {
"default": 8000,
"instance_value": "16000",
"tooltip": "Input Sample Rate",
"type": "int"
},
"out_spr": {
"default": 2500000,
"instance_value": 2500000,
"tooltip": "Output Sample Rate",
"type": "int"
},
"sptype": {
"default": 0,
"instance_value": 0,
"range": {
"0": "16 bit Intel",
"1": "16 bit Moto",
"2": "int8",
"3": "uint8"
},
"tooltip": "sample point format",
"type": "enum"
}
}
}
},
"mod1": {
"source_soundcard": {
"input_subjects": {
"timestamp_in": {
"instance_value": "",
"tooltip": "timestamp ref",
"type": "uint64"
}
},
"instance": {
"additional_args": "nice=1;",
"exec": "modules/source_soundcard",
"instance_value": 2
},
"name": {
"name": "soundcard"
},
"output_subjects": {
"timestamp": {
"instance_value": "",
"tooltip": "timestamp in total bytes",
"type": "uint64"
},
"wav": {
"instance_value": 1,
"tooltip": "Output Sample Points",
"type": "bytes"
}
},
"parameters": {
"autostart": {
"default": 0,
"instance_value": 0,
"tooltip": "auto start",
"type": "int"
},
"batch_size": {
"default": 0,
"instance_value": "0",
"range": {
"0": "Immediate",
"Others": "frame points for each channel"
},
"tooltip": "channel batch size",
"type": "int"
},
"channel": {
"default": 2,
"instance_value": "1",
"tooltip": "channels",
"type": "int"
},
"device": {
"default": "default",
"instance_value": "default",
"tooltip": "device name",
"type": "string"
},
"hide": {
"default": 0,
"instance_value": 0,
"tooltip": "hide window when start",
"type": "int"
},
"sample_rate": {
"default": 44100,
"instance_value": "16000",
"range": {
"desc": "8000~192000"
},
"tooltip": "sample rate of soundcard",
"type": "int"
}
}
}
},
"mod2": {
"uhd_usrp_continous": {
"input_subjects": {
"wav_tx": {
"instance_value": 2,
"tooltip": "TX wav,IQ",
"type": "short[2]"
}
},
"instance": {
"additional_args": "OUTD=1;nice=0;",
"exec": "modules/uhd_usrp_continous",
"instance_value": 4
},
"name": {
"name": "UHD_连续收发"
},
"output_subjects": {
"wav_rx": {
"instance_value": 0,
"tooltip": "RX wav,IQ",
"type": "short[2]"
}
},
"parameters": {
"dev_args": {
"default": "send_frame_size=1028,recv_frame_size=1028",
"instance_value": "send_frame_size=1028,recv_frame_size=1028",
"tooltip": "设备初始化参数.",
"type": "string"
},
"rx_agc": {
"default": 0,
"instance_value": 0,
"range": "0=off,1=on",
"tooltip": "接收AGC开关",
"type": "int"
},
"rx_atn": {
"default": "RX2",
"instance_value": "RX2",
"range": "TX/RX,RX2",
"tooltip": "接收天线名称",
"type": "string"
},
"rx_bw": {
"default": "1.0",
"instance_value": "0.4",
"tooltip": "接收滤波器带宽(MHz)",
"type": "double"
},
"rx_channel": {
"default": "0",
"instance_value": "0",
"range": "0,1",
"tooltip": "接收通道号",
"type": "int"
},
"rx_frame": {
"default": "10000",
"instance_value": "10000",
"range": "200-10000",
"tooltip": "接收接口单次样点数",
"type": "int"
},
"rx_gain": {
"default": 30,
"instance_value": "0",
"range": "0-100",
"tooltip": "接收增益(dB)",
"type": "double"
},
"rx_on": {
"default": "0",
"instance_value": "0",
"tooltip": "接收开关",
"type": "int"
},
"rx_rf": {
"default": "1000.0",
"instance_value": "1001",
"range": "0-6000",
"tooltip": "接收频率(MHz)",
"type": "double"
},
"sprate": {
"default": 1,
"instance_value": "2.5",
"tooltip": "采样率(MHz)",
"type": "int"
},
"tx_atn": {
"default": "TX/RX",
"instance_value": "TX/RX",
"tooltip": "发射天线名称",
"type": "string"
},
"tx_bw": {
"default": "1.0",
"instance_value": "0.4",
"tooltip": "发射滤波器带宽(MHz)",
"type": "double"
},
"tx_channel": {
"default": "0",
"instance_value": "0",
"tooltip": "发射通道",
"type": "int"
},
"tx_frame": {
"default": "10000",
"instance_value": "10000",
"range": "200-10000",
"tooltip": "发射接口单次样点数",
"type": "int"
},
"tx_gain": {
"default": 0,
"instance_value": 0,
"range": "0-100",
"tooltip": "发射增益(dB)",
"type": "double"
},
"tx_on": {
"default": "0",
"instance_value": "1",
"tooltip": "发射开关",
"type": "int"
},
"tx_rf": {
"default": "2000.0",
"instance_value": "1000",
"range": "0-6000",
"tooltip": "发射频率(MHz)",
"type": "double"
}
}
}
},
"pos0": {
"x": 1701,
"y": 1596
},
"pos1": {
"x": 1451,
"y": 1425
},
"pos2": {
"x": 1969,
"y": 1470
},
"total_mods": 3
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录