Re: Serial port data to variable

2025-02-13 Thread Marcus Müller
In this scenario, you would try to avoid python variables, and pass such things around using message passing. In a pinch, you can use the "message to variable" block, to convert a message to a variable, but, again, messages are the architecturally far superior approach here, suffer no thread-saf

Serial port data to variable

2025-02-13 Thread Muhammad Anas
Dear GNU Radio Community, I'm working on a GRC flowgraph, which has different variable blocks, e.g 'frequency' variable linked to the frequency parameter of signal source, and I have made a custom python block to receive the data as a float from serial port: 'COM4' by using the pyserial library, I