1

I have a REDHAWK component written in Python but with the new logic I have added it is using up too much CPU. I want to convert it to c++. I copied the properties from the python component .prf file to the new c++ component and generated. Although everything was fine with the generated Python code, I get the following error when trying to build the generated c++ code with no changes:

MinionControllerCpp_base.h:115:9: error: 'OutDigitalScanningTunerPort' in namespace 'frontend' does not name a type
         frontend::OutDigitalScanningTunerPort *digitalScanningTuner_out;

I searched in the REDHAWK include directory with no luck. I am using REDHAWK 2.2.3. Since the code was generated by the REDHAWK IDE, it seems the type should be defined somewhere, but where?

2 Answers2

2

There's a bug in 2.2.3 where the output digital scanning port implementation is missing in C++. This bug will be fixed in the 2.2.6 release

  • Thanks a lot for your reply. When making statements like these, could you provide a source with the information? In this case a link to the issue tracker or something similar would be nice. – Potaito Apr 02 '20 at 12:43
1

Output ports cannot be scanning; this is a feature in some receivers to allow a scan pattern across wider bandwidths than can be covered by the instantaneous bandwidth of the receiver. If you want a digital scanner input to receive, use frontend::InDigitalScanningTunerPort. If you're trying to transmit, use frontend::OutDigitalTunerPort instead.

RadioSilence
  • 348
  • 1
  • 10