SmartSDR v3.8.19 and the SmartSDR v3.8.19 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
High SWR Meter Value when in RX
I have a strange one here. I noticed that our SWR meter on node red was showing a value of 6.5 intermittently on our Node Red dashboard. This is when the radio is in RX mode and it will go between 1 and 6.5 . So first thing I did was look at the subscription stream data and to my surprise I am seeing 6.5 on from the radio. Here is the packet stream data for the SWR meter when it occurs:
I have the data here is displayed as an int. The math I use is:
var swr1 = msg.payload[2]; // swr1 = 3 in this example
var swr2 = msg.payload[3]; // swr2 = 68 in this example
The math is :
msg.swr = (((swr1*256/128) + (swr2/128));
msg.swr = parseFloat(msg.swr.toFixed(1));
Which translates to :
(3*256) / 128 ) = 6
(68 / 128) = 0.53 = 0.5
(6 + 0.5) = 6.5
I know there is a bug with the smeters and I wonder could this be bug as well? If the problem was RFI induced, I would expect drop packets. The fact that the value does not change to me indicates this is the actual value the radio is sending in the stream.
Incase any one asks, the meter in question is sub meter 21 (swr).
Regards
Comments
-
I hate to say it but the problem was induced by me (argh). I was looking at the swr on my radio (which i use as a test env) and I noticed the same problem there. That was a major red flag for me and I went back and changed how I did the meter subscriptions to what I originally had. I have no idea how setting up subscriptions on different udp ports from the same TCP connection to port 4992 causes such a problem but it does. Lesson learned...let my code soak for a while before I deploy.
Regards
0
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 534 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 146 SmartSDR for Maestro and M models
- 360 SmartSDR for Mac
- 249 SmartSDR for iOS
- 230 SmartSDR CAT
- 172 DAX
- 352 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 26 FLEX-8000 Signature Series
- 850 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 796 Genius Products
- 416 Power Genius XL Amplifier
- 277 Tuner Genius XL
- 103 Antenna Genius
- 243 Shack Infrastructure
- 166 Networking
- 404 Remote Operation (SmartLink)
- 130 Contesting
- 631 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 870 Third-Party Software