分配 USRP 后,通过在波形 xml 文件中插入适当的代码,我将 USRP 的 dataShort_out 连接到 DataConverter 输入端口,例如 DataShort,但是监视这个端口我们什么也找不到,尽管分配似乎工作正常。从监控端口面板出现:Call/s = about 30; MB/s = 0;元素/s = 0;平均队列部门 = 2% 时间=0;附加找到我的波形的sad.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE softwareassembly PUBLIC "-//JTRS//DTD SCA V2.2.2 SAD//EN" "softwareassembly.dtd">
<softwareassembly id="DCE:c679e5d8-3193-4a96-9cdb-9f28135f63c9" name="usrp_test_waveform">
<componentfiles>
<componentfile id="DataConverter_6b5c2ee8-0e91-4ed0-af3b-2677f27c21ed" type="SPD">
<localfile name="/components/DataConverter/DataConverter.spd.xml"/>
</componentfile>
<componentfile id="TuneFilterDecimate_4552fe55-6bd9-4fd2-b0ce-ba184199263e" type="SPD">
<localfile name="/components/TuneFilterDecimate/TuneFilterDecimate.spd.xml"/>
</componentfile>
<componentfile id="AmFmPmBasebandDemod_16af112f-1335-424c-a4d6-972c63f1bd43" type="SPD">
<localfile name="/components/AmFmPmBasebandDemod/AmFmPmBasebandDemod.spd.xml"/>
</componentfile>
<componentfile id="multiply_const_ff_abfee3c0-41de-42a3-b3ae-b2ba1a2fca50" type="SPD">
<localfile name="/components/gnuhawk/gr/multiply_const_ff/current/multiply_const_ff.spd.xml"/>
</componentfile>
<componentfile id="AudioSink_2e8025e4-743f-4387-b129-bb15a4e1992b" type="SPD">
<localfile name="/components/AudioSink/AudioSink.spd.xml"/>
</componentfile>
</componentfiles>
<partitioning>
<componentplacement>
<componentfileref refid="DataConverter_6b5c2ee8-0e91-4ed0-af3b-2677f27c21ed"/>
<componentinstantiation id="DataConverter_1" startorder="4">
<usagename>DataConverter_1</usagename>
<findcomponent>
<namingservice name="DataConverter_1"/>
</findcomponent>
</componentinstantiation>
</componentplacement>
<componentplacement>
<componentfileref refid="TuneFilterDecimate_4552fe55-6bd9-4fd2-b0ce-ba184199263e"/>
<componentinstantiation id="TuneFilterDecimate_1" startorder="5">
<usagename>TuneFilterDecimate_1</usagename>
<findcomponent>
<namingservice name="TuneFilterDecimate_1"/>
</findcomponent>
</componentinstantiation>
</componentplacement>
<componentplacement>
<componentfileref refid="AmFmPmBasebandDemod_16af112f-1335-424c-a4d6-972c63f1bd43"/>
<componentinstantiation id="AmFmPmBasebandDemod_1" startorder="1">
<usagename>AmFmPmBasebandDemod_1</usagename>
<findcomponent>
<namingservice name="AmFmPmBasebandDemod_1"/>
</findcomponent>
</componentinstantiation>
</componentplacement>
<componentplacement>
<componentfileref refid="TuneFilterDecimate_4552fe55-6bd9-4fd2-b0ce-ba184199263e"/>
<componentinstantiation id="TuneFilterDecimate_2" startorder="2">
<usagename>TuneFilterDecimate_2</usagename>
<findcomponent>
<namingservice name="TuneFilterDecimate_2"/>
</findcomponent>
</componentinstantiation>
</componentplacement>
<componentplacement>
<componentfileref refid="multiply_const_ff_abfee3c0-41de-42a3-b3ae-b2ba1a2fca50"/>
<componentinstantiation id="multiply_const_ff_1" startorder="3">
<usagename>multiply_const_ff_1</usagename>
<findcomponent>
<namingservice name="multiply_const_ff_1"/>
</findcomponent>
</componentinstantiation>
</componentplacement>
<componentplacement>
<componentfileref refid="DataConverter_6b5c2ee8-0e91-4ed0-af3b-2677f27c21ed"/>
<componentinstantiation id="DataConverter_2" startorder="0">
<usagename>DataConverter_2</usagename>
<findcomponent>
<namingservice name="DataConverter_2"/>
</findcomponent>
</componentinstantiation>
</componentplacement>
<componentplacement>
<componentfileref refid="AudioSink_2e8025e4-743f-4387-b129-bb15a4e1992b"/>
<componentinstantiation id="AudioSink_1" startorder="6">
<usagename>AudioSink_1</usagename>
<findcomponent>
<namingservice name="AudioSink_1"/>
</findcomponent>
</componentinstantiation>
</componentplacement>
</partitioning>
<assemblycontroller>
<componentinstantiationref refid="DataConverter_2"/>
</assemblycontroller>
<connections>
<connectinterface id="usrpAllocation">
<usesport>
<usesidentifier>dataShort_out</usesidentifier>
<deviceusedbyapplication usesrefid="DCE:18964b3d-392e-4b98-a90d-0569b5d46ffe"/>
</usesport>
<providesport>
<providesidentifier>dataShort</providesidentifier>
<componentinstantiationref refid="DataConverter_2"/>
</providesport>
</connectinterface>
<connectinterface id="connection_1">
<usesport>
<usesidentifier>dataFloat_Out</usesidentifier>
<componentinstantiationref refid="TuneFilterDecimate_1"/>
</usesport>
<providesport>
<providesidentifier>dataFloat_In</providesidentifier>
<componentinstantiationref refid="AmFmPmBasebandDemod_1"/>
</providesport>
</connectinterface>
<connectinterface id="connection_2">
<usesport>
<usesidentifier>fm_dataFloat_out</usesidentifier>
<componentinstantiationref refid="AmFmPmBasebandDemod_1"/>
</usesport>
<providesport>
<providesidentifier>dataFloat_In</providesidentifier>
<componentinstantiationref refid="TuneFilterDecimate_2"/>
</providesport>
</connectinterface>
<connectinterface id="connection_3">
<usesport>
<usesidentifier>float_out</usesidentifier>
<componentinstantiationref refid="multiply_const_ff_1"/>
</usesport>
<providesport>
<providesidentifier>dataFloat</providesidentifier>
<componentinstantiationref refid="DataConverter_1"/>
</providesport>
</connectinterface>
<connectinterface id="connection_4">
<usesport>
<usesidentifier>dataFloat_Out</usesidentifier>
<componentinstantiationref refid="TuneFilterDecimate_2"/>
</usesport>
<providesport>
<providesidentifier>float_in</providesidentifier>
<componentinstantiationref refid="multiply_const_ff_1"/>
</providesport>
</connectinterface>
<connectinterface id="connection_5">
<usesport>
<usesidentifier>dataFloat_out</usesidentifier>
<componentinstantiationref refid="DataConverter_2"/>
</usesport>
<providesport>
<providesidentifier>dataFloat_In</providesidentifier>
<componentinstantiationref refid="TuneFilterDecimate_1"/>
</providesport>
</connectinterface>
<connectinterface id="connection_6">
<usesport>
<usesidentifier>dataShort_out</usesidentifier>
<componentinstantiationref refid="DataConverter_1"/>
</usesport>
<providesport>
<providesidentifier>audio_in</providesidentifier>
<componentinstantiationref refid="AudioSink_1"/>
</providesport>
</connectinterface>
</connections>
<usesdevicedependencies>
<usesdevice id="DCE:18964b3d-392e-4b98-a90d-0569b5d46ffe" type="usesUSRP">
<propertyref refid="DCE:cdc5ee18-7ceb-4ae6-bf4c-31f983179b4d" value="FRONTEND"/>
<propertyref refid="DCE:0f99b2e4-9903-4631-9846-ff349d18ecfb" value="USRP"/>
<structref refid="FRONTEND::tuner_allocation">
<simpleref refid="FRONTEND::tuner_allocation::tuner_type" value="RX_DIGITIZER"/>
<simpleref refid="FRONTEND::tuner_allocation::allocation_id" value="usrpAllocation"/>
<simpleref refid="FRONTEND::tuner_allocation::center_frequency" value="102500000"/>
<simpleref refid="FRONTEND::tuner_allocation::bandwidth" value="320000"/>
<simpleref refid="FRONTEND::tuner_allocation::sample_rate" value="250000"/>
<simpleref refid="FRONTEND::tuner_allocation::group_id" value=""/>
<simpleref refid="FRONTEND::tuner_allocation::rf_flow_id" value=""/>
</structref>
</usesdevice>
</usesdevicedependencies>
</softwareassembly>