Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
colorEagleStdio
taskbus
提交
767ce4ff
taskbus
项目概览
colorEagleStdio
/
taskbus
通知
166
Star
12
Fork
6
代码
文件
提交
分支
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,发现更多精彩内容 >>
提交
767ce4ff
编写于
10月 11, 2022
作者:
丁劲犇
😸
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加一个发射水位标志,以便随时为发射逻辑准备足够的数据
上级
1c78ac19
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
473 addition
and
423 deletion
+473
-423
modules/uhd/uhd_usrp_continous/uhd_io_continous.cpp
modules/uhd/uhd_usrp_continous/uhd_io_continous.cpp
+17
-0
modules/uhd/uhd_usrp_continous/uhd_usrp_continous.json
modules/uhd/uhd_usrp_continous/uhd_usrp_continous.json
+125
-121
modules/uhd/uhd_usrp_continous/uhd_usrp_continous.zh_CN.json
modules/uhd/uhd_usrp_continous/uhd_usrp_continous.zh_CN.json
+126
-122
modules/uhd/uhd_usrp_io/uhd_io.cpp
modules/uhd/uhd_usrp_io/uhd_io.cpp
+17
-0
modules/uhd/uhd_usrp_io/uhd_usrp_io.json
modules/uhd/uhd_usrp_io/uhd_usrp_io.json
+68
-64
modules/uhd/uhd_usrp_io/uhd_usrp_io.zh_CN.json
modules/uhd/uhd_usrp_io/uhd_usrp_io.zh_CN.json
+120
-116
未找到文件。
modules/uhd/uhd_usrp_continous/uhd_io_continous.cpp
浏览文件 @
767ce4ff
...
...
@@ -96,6 +96,7 @@ int do_iio(const cmdlineParser & args)
const
quint32
instance
=
args
.
toUInt
(
"instance"
,
0
);
const
quint32
i_wav_rx
[
2
]
=
{
args
.
toUInt
(
"wav_rx0"
,
0
),
args
.
toUInt
(
"wav_rx1"
,
0
)};
const
quint32
i_wav_tx
[
2
]
=
{
args
.
toUInt
(
"wav_tx0"
,
0
),
args
.
toUInt
(
"wav_tx1"
,
0
)};
const
quint32
i_txWaterMark
=
args
.
toInt
(
"tx_mark"
,
0
);
//设备句柄
uhd_usrp_handle
usrp
=
nullptr
;
uhd_rx_streamer_handle
rx_streamer
=
nullptr
;
...
...
@@ -509,6 +510,22 @@ int do_iio(const cmdlineParser & args)
(
const
void
**
)
tx_buff_ptr
.
data
(),
tx_sps_buff
,
&
tx_meta
,
0.1
,
&
num_sps_sent
));
tx_pos
+=
num_sps_sent
;
if
(
i_txWaterMark
>
0
)
{
qint64
watM
=
stdin_pos
[
0
]
-
tx_pos
;
if
(
tx_channel_count
>
1
)
{
qint64
wat2
=
stdin_pos
[
1
]
-
tx_pos
;
if
(
wat2
<
watM
)
watM
=
wat2
;
}
TASKBUS
::
push_subject
(
i_txWaterMark
,
instance
,
sizeof
(
qint64
),
(
unsigned
char
*
)
&
watM
);
}
}
}
}
...
...
modules/uhd/uhd_usrp_continous/uhd_usrp_continous.json
浏览文件 @
767ce4ff
{
"uhd_usrp_continous"
:
{
"name"
:
"uhd_cio"
,
"parameters"
:
{
"dev_args"
:
{
"type"
:
"string"
,
"tooltip"
:
"Additional Device Start Args."
,
"default"
:
""
},
"rx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX rate(MHz)"
,
"default"
:
1.0
},
"rx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX is ON"
,
"default"
:
"0,0"
},
"rx_frame"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX frame for stdout in sample points"
,
"default"
:
10000
,
"range"
:
"200-10000"
},
"rx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"RX Freq(MHz)"
,
"default"
:
"1000.0,1100.0"
,
"range"
:
"0-6000"
},
"rx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"RX Gain(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"rx_agc"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX AGC Switch"
,
"default"
:
"0,0"
,
"range"
:
"0=off,1=on"
},
"rx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"RX bandwidth(MHz)"
,
"default"
:
"1.0,1.0"
},
"rx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"RX antenna"
,
"default"
:
"RX2,RX2"
,
"range"
:
"TX/RX,RX2"
},
"name"
:
"uhd_cio"
,
"parameters"
:
{
"dev_args"
:
{
"type"
:
"string"
,
"tooltip"
:
"Additional Device Start Args."
,
"default"
:
""
},
"rx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX rate(MHz)"
,
"default"
:
1.0
},
"rx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX is ON"
,
"default"
:
"0,0"
},
"rx_frame"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX frame for stdout in sample points"
,
"default"
:
10000
,
"range"
:
"200-10000"
},
"rx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"RX Freq(MHz)"
,
"default"
:
"1000.0,1100.0"
,
"range"
:
"0-6000"
},
"rx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"RX Gain(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"rx_agc"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX AGC Switch"
,
"default"
:
"0,0"
,
"range"
:
"0=off,1=on"
},
"rx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"RX bandwidth(MHz)"
,
"default"
:
"1.0,1.0"
},
"rx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"RX antenna"
,
"default"
:
"RX2,RX2"
,
"range"
:
"TX/RX,RX2"
},
"rx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX channels"
,
"default"
:
"0,1"
,
"range"
:
"0,1"
},
"tx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX is ON"
,
"default"
:
"0"
},
"tx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX rate(MHz)"
,
"default"
:
1.0
},
"tx_frame"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX frame for stdout in sample points"
,
"default"
:
"10000"
,
"range"
:
"200-10000"
},
"tx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"TX freq(MHz)"
,
"default"
:
"2000.0,2000.0"
},
"tx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"TX Gain(dB)"
,
"default"
:
"0.0,0.0"
,
"range"
:
"0-100"
},
"tx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"TX bandwidth(MHz)"
,
"default"
:
"1.0,1.0"
},
"tx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"TX antenna"
,
"default"
:
"TX/RX,TX/RX"
},
"tx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX channels"
,
"default"
:
"0,1"
}
},
"input_subjects"
:
{
"wav_tx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX0IQ"
},
"wav_tx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX1IQ"
}
},
"output_subjects"
:
{
"wav_rx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX0IQ"
},
"wav_rx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX1IQ"
}
}
"rx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX channels"
,
"default"
:
"0,1"
,
"range"
:
"0,1"
},
"tx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX is ON"
,
"default"
:
"0"
},
"tx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX rate(MHz)"
,
"default"
:
1.0
},
"tx_frame"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX frame for stdout in sample points"
,
"default"
:
"10000"
,
"range"
:
"200-10000"
},
"tx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"TX freq(MHz)"
,
"default"
:
"2000.0,2000.0"
},
"tx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"TX Gain(dB)"
,
"default"
:
"0.0,0.0"
,
"range"
:
"0-100"
},
"tx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"TX bandwidth(MHz)"
,
"default"
:
"1.0,1.0"
},
"tx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"TX antenna"
,
"default"
:
"TX/RX,TX/RX"
},
"tx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX channels"
,
"default"
:
"0,1"
}
},
"input_subjects"
:
{
"wav_tx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX0IQ"
},
"wav_tx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX1IQ"
}
},
"output_subjects"
:
{
"wav_rx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX0IQ"
},
"wav_rx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX1IQ"
},
"tx_mark"
:
{
"type"
:
"int64"
,
"tooltip"
:
"TXWaterMark"
}
}
}
}
modules/uhd/uhd_usrp_continous/uhd_usrp_continous.zh_CN.json
浏览文件 @
767ce4ff
{
"uhd_usrp_continous"
:
{
"name"
:
"UHD_连续收发"
,
"parameters"
:
{
"dev_args"
:
{
"type"
:
"string"
,
"tooltip"
:
"设备初始化参数."
,
"default"
:
""
},
"rx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX采样率(MHz)"
,
"default"
:
1.0
},
"rx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收开关"
,
"default"
:
"0"
},
"rx_frame"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收接口单次样点数"
,
"default"
:
"10000"
,
"range"
:
"200-10000"
},
"rx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收频率(MHz)"
,
"default"
:
"99.0,101.1"
,
"range"
:
"0-6000"
},
"rx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收增益(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"rx_agc"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收AGC开关"
,
"default"
:
"0,0"
,
"range"
:
"0=off,1=on"
},
"rx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收滤波器带宽(MHz)"
,
"default"
:
"1.0,1.0"
},
"rx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"接收天线名称"
,
"default"
:
"RX2,RX2"
,
"range"
:
"TX/RX,RX2"
},
"rx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收各个通道号"
,
"default"
:
"0,1"
,
"range"
:
"0,1"
},
"tx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX采样率(MHz)"
,
"default"
:
1.0
},
"tx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"发射开关"
,
"default"
:
0
},
"tx_frame"
:
{
"type"
:
"int"
,
"tooltip"
:
"发射接口单次样点数"
,
"default"
:
"10000"
,
"range"
:
"200-10000"
},
"tx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射频率(MHz)"
,
"default"
:
"200.0,203.0"
,
"range"
:
"0-6000"
},
"tx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射增益(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"tx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射滤波器带宽(MHz)"
,
"default"
:
"1.0,1.0"
},
"tx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"发射天线名称"
,
"default"
:
"TX/RX,TX/RX"
},
"name"
:
"UHD_连续收发"
,
"parameters"
:
{
"dev_args"
:
{
"type"
:
"string"
,
"tooltip"
:
"设备初始化参数."
,
"default"
:
""
},
"rx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX采样率(MHz)"
,
"default"
:
1.0
},
"rx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收开关"
,
"default"
:
"0"
},
"rx_frame"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收接口单次样点数"
,
"default"
:
"10000"
,
"range"
:
"200-10000"
},
"rx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收频率(MHz)"
,
"default"
:
"99.0,101.1"
,
"range"
:
"0-6000"
},
"rx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收增益(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"rx_agc"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收AGC开关"
,
"default"
:
"0,0"
,
"range"
:
"0=off,1=on"
},
"rx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收滤波器带宽(MHz)"
,
"default"
:
"1.0,1.0"
},
"rx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"接收天线名称"
,
"default"
:
"RX2,RX2"
,
"range"
:
"TX/RX,RX2"
},
"rx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收各个通道号"
,
"default"
:
"0,1"
,
"range"
:
"0,1"
},
"tx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX采样率(MHz)"
,
"default"
:
1.0
},
"tx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"发射开关"
,
"default"
:
0
},
"tx_frame"
:
{
"type"
:
"int"
,
"tooltip"
:
"发射接口单次样点数"
,
"default"
:
"10000"
,
"range"
:
"200-10000"
},
"tx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射频率(MHz)"
,
"default"
:
"200.0,203.0"
,
"range"
:
"0-6000"
},
"tx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射增益(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"tx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射滤波器带宽(MHz)"
,
"default"
:
"1.0,1.0"
},
"tx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"发射天线名称"
,
"default"
:
"TX/RX,TX/RX"
},
"tx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"发射各个通道"
,
"default"
:
"0,1"
}
},
"input_subjects"
:
{
"wav_tx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX0"
},
"wav_tx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX1"
}
},
"output_subjects"
:
{
"wav_rx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX0"
},
"wav_rx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX1"
}
}
"tx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"发射各个通道"
,
"default"
:
"0,1"
}
},
"input_subjects"
:
{
"wav_tx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX0"
},
"wav_tx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX1"
}
},
"output_subjects"
:
{
"wav_rx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX0"
},
"wav_rx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX1"
},
"tx_mark"
:
{
"type"
:
"int64"
,
"tooltip"
:
"TXWaterMark"
}
}
}
}
modules/uhd/uhd_usrp_io/uhd_io.cpp
浏览文件 @
767ce4ff
...
...
@@ -137,6 +137,7 @@ int do_iio(const cmdlineParser & args)
const
quint32
i_wav_tx
[
2
]
=
{
args
.
toUInt
(
"wav_tx0"
,
0
),
args
.
toUInt
(
"wav_tx1"
,
0
)};
const
quint32
i_rx_tm
=
args
.
toInt
(
"rx_time"
,
0
);
const
quint32
i_tx_tm
=
args
.
toInt
(
"tx_time"
,
0
);
const
quint32
i_txWaterMark
=
args
.
toInt
(
"tx_mark"
,
0
);
//设备句柄
uhd_usrp_handle
usrp
=
nullptr
;
uhd_rx_streamer_handle
rx_streamer
=
nullptr
;
...
...
@@ -632,6 +633,22 @@ int do_iio(const cmdlineParser & args)
//tx_meta->tx_metadata_ctmstmppp.start_of_burst = false;
for
(
int
ch
=
0
;
ch
<
tx_channel_count
;
++
ch
)
tx_pos
[
ch
]
+=
num_sps_sent
;
if
(
i_txWaterMark
>
0
)
{
qint64
watM
=
stdin_pos
[
0
]
-
tx_pos
[
0
];
if
(
tx_channel_count
>
1
)
{
qint64
wat2
=
stdin_pos
[
1
]
-
tx_pos
[
1
];
if
(
wat2
<
watM
)
watM
=
wat2
;
}
TASKBUS
::
push_subject
(
i_txWaterMark
,
instance
,
sizeof
(
qint64
),
(
unsigned
char
*
)
&
watM
);
}
}
//Burst
else
...
...
modules/uhd/uhd_usrp_io/uhd_usrp_io.json
浏览文件 @
767ce4ff
...
...
@@ -3,120 +3,124 @@
"name"
:
"uhd_usrp_io"
,
"parameters"
:
{
"dev_args"
:
{
"type"
:
"string"
,
"tooltip"
:
"Additional Device Start Args."
,
"default"
:
""
"type"
:
"string"
,
"tooltip"
:
"Additional Device Start Args."
,
"default"
:
""
},
"rx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX rate(MHz)"
,
"default"
:
1.0
"type"
:
"int"
,
"tooltip"
:
"RX rate(MHz)"
,
"default"
:
1.0
},
"rx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX is ON"
,
"default"
:
"0,0"
"type"
:
"int"
,
"tooltip"
:
"RX is ON"
,
"default"
:
"0,0"
},
"rx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"RX Freq(MHz)"
,
"default"
:
"1000.0,1100.0"
,
"range"
:
"0-6000"
"type"
:
"double"
,
"tooltip"
:
"RX Freq(MHz)"
,
"default"
:
"1000.0,1100.0"
,
"range"
:
"0-6000"
},
"rx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"RX Gain(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
"type"
:
"double"
,
"tooltip"
:
"RX Gain(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"rx_agc"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX AGC Switch"
,
"default"
:
"0,0"
,
"range"
:
"0=off,1=on"
"type"
:
"int"
,
"tooltip"
:
"RX AGC Switch"
,
"default"
:
"0,0"
,
"range"
:
"0=off,1=on"
},
"rx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"RX bandwidth(MHz)"
,
"default"
:
"1.0,1.0"
"type"
:
"double"
,
"tooltip"
:
"RX bandwidth(MHz)"
,
"default"
:
"1.0,1.0"
},
"rx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"RX antenna"
,
"default"
:
"RX2,RX2"
,
"range"
:
"TX/RX,RX2"
"type"
:
"string"
,
"tooltip"
:
"RX antenna"
,
"default"
:
"RX2,RX2"
,
"range"
:
"TX/RX,RX2"
},
"rx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX channels"
,
"default"
:
"0,1"
,
"range"
:
"0,1"
"type"
:
"int"
,
"tooltip"
:
"RX channels"
,
"default"
:
"0,1"
,
"range"
:
"0,1"
},
"tx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX is ON"
,
"default"
:
"0"
"type"
:
"int"
,
"tooltip"
:
"TX is ON"
,
"default"
:
"0"
},
"tx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX rate(MHz)"
,
"default"
:
1.0
"type"
:
"int"
,
"tooltip"
:
"TX rate(MHz)"
,
"default"
:
1.0
},
"tx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"TX freq(MHz)"
,
"default"
:
"2000.0,2000.0"
"type"
:
"double"
,
"tooltip"
:
"TX freq(MHz)"
,
"default"
:
"2000.0,2000.0"
},
"tx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"TX Gain(dB)"
,
"default"
:
"0.0,0.0"
,
"range"
:
"0-100"
"type"
:
"double"
,
"tooltip"
:
"TX Gain(dB)"
,
"default"
:
"0.0,0.0"
,
"range"
:
"0-100"
},
"tx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"TX bandwidth(MHz)"
,
"default"
:
"1.0,1.0"
"type"
:
"double"
,
"tooltip"
:
"TX bandwidth(MHz)"
,
"default"
:
"1.0,1.0"
},
"tx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"TX antenna"
,
"default"
:
"TX/RX,TX/RX"
"type"
:
"string"
,
"tooltip"
:
"TX antenna"
,
"default"
:
"TX/RX,TX/RX"
},
"tx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX channels"
,
"default"
:
"0,1"
"type"
:
"int"
,
"tooltip"
:
"TX channels"
,
"default"
:
"0,1"
}
},
"input_subjects"
:
{
"tx_time"
:
{
"type"
:
"uint64+double"
,
"type"
:
"uint64+double"
,
"tooltip"
:
"tx_time"
},
"wav_tx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX0IQ"
"type"
:
"short[2]"
,
"tooltip"
:
"TX0IQ"
},
"wav_tx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX1IQ"
"type"
:
"short[2]"
,
"tooltip"
:
"TX1IQ"
}
},
"output_subjects"
:
{
"rx_time"
:
{
"type"
:
"uint64+double"
,
"type"
:
"uint64+double"
,
"tooltip"
:
"rx_time"
},
"wav_rx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX0IQ"
"type"
:
"short[2]"
,
"tooltip"
:
"RX0IQ"
},
"wav_rx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX1IQ"
"type"
:
"short[2]"
,
"tooltip"
:
"RX1IQ"
},
"tx_mark"
:
{
"type"
:
"int64"
,
"tooltip"
:
"TXWaterMark"
}
}
}
...
...
modules/uhd/uhd_usrp_io/uhd_usrp_io.zh_CN.json
浏览文件 @
767ce4ff
{
"uhd_usrp_io"
:
{
"name"
:
"UHD收发"
,
"parameters"
:
{
"dev_args"
:
{
"type"
:
"string"
,
"tooltip"
:
"设备初始化参数."
,
"default"
:
""
},
"rx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX采样率(MHz)"
,
"default"
:
1.0
},
"rx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收开关"
,
"default"
:
"0"
},
"rx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收频率(MHz)"
,
"default"
:
"99.0,101.1"
,
"range"
:
"0-6000"
},
"rx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收增益(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"rx_agc"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收AGC开关"
,
"default"
:
"0,0"
,
"range"
:
"0=off,1=on"
},
"rx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收滤波器带宽(MHz)"
,
"default"
:
"1.0,1.0"
},
"rx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"接收天线名称"
,
"default"
:
"RX2,RX2"
,
"range"
:
"TX/RX,RX2"
},
"rx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收各个通道号"
,
"default"
:
"0,1"
,
"range"
:
"0,1"
},
"tx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX采样率(MHz)"
,
"default"
:
1.0
},
"tx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"发射开关"
,
"default"
:
0
},
"tx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射频率(MHz)"
,
"default"
:
"200.0,203.0"
,
"range"
:
"0-6000"
},
"tx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射增益(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"tx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射滤波器带宽(MHz)"
,
"default"
:
"1.0,1.0"
},
"tx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"发射天线名称"
,
"default"
:
"TX/RX,TX/RX"
},
"name"
:
"UHD收发"
,
"parameters"
:
{
"dev_args"
:
{
"type"
:
"string"
,
"tooltip"
:
"设备初始化参数."
,
"default"
:
""
},
"rx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"RX采样率(MHz)"
,
"default"
:
1.0
},
"rx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收开关"
,
"default"
:
"0"
},
"rx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收频率(MHz)"
,
"default"
:
"99.0,101.1"
,
"range"
:
"0-6000"
},
"rx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收增益(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"rx_agc"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收AGC开关"
,
"default"
:
"0,0"
,
"range"
:
"0=off,1=on"
},
"rx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"接收滤波器带宽(MHz)"
,
"default"
:
"1.0,1.0"
},
"rx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"接收天线名称"
,
"default"
:
"RX2,RX2"
,
"range"
:
"TX/RX,RX2"
},
"rx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"接收各个通道号"
,
"default"
:
"0,1"
,
"range"
:
"0,1"
},
"tx_rate"
:
{
"type"
:
"int"
,
"tooltip"
:
"TX采样率(MHz)"
,
"default"
:
1.0
},
"tx_on"
:
{
"type"
:
"int"
,
"tooltip"
:
"发射开关"
,
"default"
:
0
},
"tx_rf"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射频率(MHz)"
,
"default"
:
"200.0,203.0"
,
"range"
:
"0-6000"
},
"tx_gain"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射增益(dB)"
,
"default"
:
"30.0,30.0"
,
"range"
:
"0-100"
},
"tx_bw"
:
{
"type"
:
"double"
,
"tooltip"
:
"发射滤波器带宽(MHz)"
,
"default"
:
"1.0,1.0"
},
"tx_atn"
:
{
"type"
:
"string"
,
"tooltip"
:
"发射天线名称"
,
"default"
:
"TX/RX,TX/RX"
},
"tx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"发射各个通道"
,
"default"
:
"0,1"
}
},
"input_subjects"
:
{
"tx_time"
:
{
"type"
:
"uint64+double"
,
"tx_channels"
:
{
"type"
:
"int"
,
"tooltip"
:
"发射各个通道"
,
"default"
:
"0,1"
}
},
"input_subjects"
:
{
"tx_time"
:
{
"type"
:
"uint64+double"
,
"tooltip"
:
"tx_time"
},
"wav_tx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX0"
},
"wav_tx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX1"
}
},
"output_subjects"
:
{
"rx_time"
:
{
"type"
:
"uint64+double"
,
},
"wav_tx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX0"
},
"wav_tx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"TX1"
}
},
"output_subjects"
:
{
"rx_time"
:
{
"type"
:
"uint64+double"
,
"tooltip"
:
"rx_time"
},
"wav_rx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX0"
},
"wav_rx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX1"
}
}
},
"wav_rx0"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX0"
},
"wav_rx1"
:
{
"type"
:
"short[2]"
,
"tooltip"
:
"RX1"
},
"tx_mark"
:
{
"type"
:
"int64"
,
"tooltip"
:
"TXWaterMark"
}
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录