Hi,
I'd generally recommend that you add a message handler to your block, which can 
be connected via message passing to other blocks. That way, you'll have 
something that is thread-safe (which is necessary, because your xmlrpc server 
will run in another thread than your block's 'work' method).

Then, use the "Variable to Message" block from [1] to allow for a simple way of 
sending that message by modifying a Python variable with the xmlrpc server.

Best regards,
Marcus

[1] https://github.com/marcusmueller/gr-msgtools

Am 5. Juli 2016 11:35:11 MESZ, schrieb [email protected]:
>Hi everybody,
>
>I would like to know how a parameter can be updated during the
>execution 
>of a custom C++ block (I have some data to change during the execution 
>of the flowgraph with XMLRPC).
>
>Do someone already did it ? :)
>
>
>
>Thanks in advance !
>
>
>Best regards,
>
>-JM
>
>_______________________________________________
>Discuss-gnuradio mailing list
>[email protected]
>https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to