Jump to content

PROP_PARAM and CIGI component


photo

Recommended Posts

Posted

Hi,

I have a component with a mask parameter defined like this:
PROP_PARAM(Mask, mask, "intersection", 0xFFFF);

I'm trying to control it through CIGI componentControl, so I put this in ig_config:
<parameter type="int" name="data3">mask</parameter>

But at run time, when sending the corresponding message, the IG warns me with:
WARNING:    Component::ComponentParameter::setValueInt: type of parameter mask is not Int

What is the correct way to do this?

Thanks!

Posted

Hello!
Indeed, the Mask type is not handled when processing the CIGI parameter. This will be fixed in the next release.

For now, I can suggest simply using:
PROP_PARAM(Int, mask, 0xFFFF);

Thank you!

  • Thanks 1
×
×
  • Create New...