【发布时间】:2014-02-28 03:20:27
【问题描述】:
我在 Centos 6.4(32 位)操作系统上使用 REDHAWK 1.9。
我有一个符合调谐器 FrontEnd(FE) II 接口的设备。 FEII 兼容设备的分配是通过结构 (frontend_tuner_allocation)。 IDE 似乎不允许在 implementations 选项卡上定义此分配。
我看了REDHAWK UHD device usage。它描述了如何进行必要的连接,但我没有看到如何通过调谐器分配结构进行分配。
我已经看到示例(离线)在哪里执行此分配,分配结构必须手动编码到 xml 文件中。我在一种情况下看到这是在组件 spd.xml 文件中完成的。我有另一个例子,它是在波形中完成的。
示例 1: 在组件 spd.xml 中
<usesdevice id="DCE:11bafc63-d8ce-428b-8b4e-39cb96034e8c" type="usesDevice">
<propertyref refid="DCE:cdc5ee18-7ceb-4ae6-bf4c-31f983179b4d" value="FRONTEND:TUNER"/>
<structref refid="FRONTEND::tuner_allocation">
<simpleref refid="FRONTEND::tuner_allocation::allocation_id" value="SimFE2TestSink"/>
<simpleref refid="FRONTEND::tuner_allocation::center_frequency" value="857000000.0"/>
</structref>
</usesdevice>
示例 2: 在波形spd.xml中
<usesdevicedependencies>
<usesdevice id="DCE:93a650f5-719f-4dc3-8143-fd438b94c19f" type="usesXX">
<propertyref refid="DCE:cdc5ee18-7ceb-4ae6-bf4c-31f983179b4d" value="FRONTEND::TUNER"/>
<structref refid="FRONTEND::tuner_allocation">
<simpleref refid="FRONTEND::tuner_allocation::tuner_type" value="RX_DIGITIZER_CHANNELIZER"/>
<simpleref refid="FRONTEND::tuner_allocation::allocation_id" value="XXDevice"/>
<simpleref refid="FRONTEND::tuner_allocation::center_frequency" value="100000000"/>
<simpleref refid="FRONTEND::tuner_allocation::bandwidth" value="128000"/>
<simpleref refid="FRONTEND::tuner_allocation::sample_rate" value="256000"/>
<simpleref refid="FRONTEND::tuner_allocation::group_id" value=""/>
<simpleref refid="FRONTEND::tuner_allocation::rf_flow_id" value=""/>
</structref>
</usesdevice>
</usesdevicedependencies>
如何分配 FrontEnd Tuner 的最佳方式?
【问题讨论】:
标签: redhawksdr