I am working REDHAWK 1.9 on Centos 6.4 (32 bit) OS.
I have a device that conforms to the FrontEnd( FE) II interface for a Tuner. The allocation of an FEII compliant device is via a structure (frontend_tuner_allocation). The IDE does not appear to allow to define this allocation on the implementations tab.
I looked at REDHAWK UHD device usage. It describes how to make the necessary connections but I didn't see how to allocate via the tuner allocation structure.
I have seen example (offline) where to do this allocation the allocation structure has to be hand coded into the xml file. I saw in one case this was done in the components spd.xml file. I have another example where it was done in the waveform.
example 1: In components 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>
example 2: In waveform 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>
How is the best way to allocate FrontEnd Tuner?