In a GRC flowgraph I have a custom OOT block which periodically sends a PMT message to the "command message port" of the "UHD: USRP Source Block" (for set the RF center frequency for the two different channel CH A:0 and CH B:0).
I have the problem to dynamically set the sample rate (in different way for the two RX channel):
A constraint of the x310 is that the two RX channel shall have the same sampling rate. So, in order to achieve this goal a Decimation block shall be used (taking in input the UHD Source Block output's).
Is it possibile to set the decimation factor for an existing block or I need to create a custom OOT block my own?
Moreover, in this latter case the usage of a message handler for doing this shall create some issue (thread of the general work will "work" with a global variable set by the "Message Handler" thread).