Thanks Marcus! That should have been a natural next step for me, but so
many Google search results for xml operators put "=" as a comparison!
Knowing it just needs to be a valid Python expression is good to know
for future needs.
Much appreciated for your assistance once again.
p.s. for
Hi Mike,
what's in the tag just needs to be a valid Python expression,
afaik. So,
$psize % 8 == 0
would work (notice the double =; this is comparison, not assignment!).
For comparison, see the gr-audio/grc/analog_nbfm_rx.xml, for example.
Best regards,
Marcus
On 2017-10-19 04:02, Mike
What would be the best way to make sure the user enters a parameter that
is a multiple of 8 in the GRC XML file? My first thought is this might
do the trick, but seems there is no mod function for XML. Any suggestions?
$psize % 8 = 0 or $psize mod 8 = 0
Thanks in advance,
Mike