Where is the REDHAWK IDE generated port type frontend::OutDigitalScanningTunerPort defined?

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?

Upvotes: 1

Views: 83

Answers (2)

user13197868
user13197868

Reputation: 36

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

Upvotes: 2

RadioSilence
RadioSilence

Reputation: 358

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.

Upvotes: 1

Related Questions