¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Capturing flexradio transmit band


 

Hi?
?
I? do not own a flexradio but I am helping VA2UR with his remote contest station. We want to capture the current transmit band , before starting transmission if possible.
?
I am able to capture the transmit frequency when he transmits by subscribing to "sub tx all" and I get messages like this one:
?

{"freq":14.20884,"lo":200,"hi":2900,"tx_filter_changes_allowed":1,"artopic":"transmit","ardate":"2025-03-29 14:47:29"}

?

Ignore the last 2 fields (artopic and ardate, I added those.

?

This tells me in real time the transmit frequency but we would like to know the selected band before tx happens to automatically adjust filters, etc

?

I do not own or operate the flexradio myself so I am doing this a bit blindfolded.

?

Thanks

Patrick VA2ARZ


 

I used your example to create the following flow.? ?My function node only has 3 bands defined.? You will need to add all the bands you need.??
?
?
Here is the output:
?


 

I could not sleep last night so I decided to redo the entire flow and ensure it works with the sub transmit messages.? ?The new flow will pass messages that do not have the frequency value.? The following 2 messages passes the band if the frequency is there but if no frequency is present it will just pass the message.??
?
?
I have also added 160 - 6 meters and a GEN band if it does not fit those amateur bands.? ?
?
?
?
?


 

I decided to modify the function node to work with sub TX and Slice.? ?The function node looks for 'freq' or 'RX_frequency' and adds the Band data to the payload object.? ?It will also pass the all objects originally passed to the node.? If 'freq' or 'RX_frequency' is not found then the node will pass the original message.? ?The node can be found here .?
?
4/25/2025, 10:57:57 AMslice/0 : msg : Object
object
4/25/2025, 10:57:57 AMtransmit : msg : Object
object