pothosware / PothosSoapy

Pothos framework support for software defined radio hardware.
https://github.com/pothosware/PothosSoapy/wiki
Boost Software License 1.0
25 stars 10 forks source link

Normalize Labels for Compatibility #10

Open xloem opened 9 years ago

xloem commented 9 years ago

I propose that the label names be changed so as to match tag names found in gnuradio, so that someday some compatible behavior or even standard may evolve.

The following tag names are used in gr-uhd and gr-osmosdr/bladerf:

txTime -> tx_time txEnd -> tx_eob rxTime -> rx_time rxEnd -> rx_eob rxFreq -> rx_freq rxRate -> rx_rate

guruofquality commented 9 years ago

What's even worse is that I'm the moron that came up with the gr-uhd names as well... So, I don't want to pull the rug out under anyone's feed here. But you are right that it might be better. Also the other toolkit blocks are using these rate and freq labels as well to automatically set their axis (see plotters).

I have found that a lot of generic blocks that use labels, often need a name passed as a parameter, because the upstream block providing the label may be one of many things (including but not limited to sdr source). So the actual label ID is not so important in this case, just as long as any two blocks agree.

Then there are blocks that specifically are meant to be connected to the SDR source/sink blocks. I think my concern is that some of the gnuradio blocks may have these tag names hard-coded, and pothos sdr label names would prevent them from being used.

So I am also considering: