SmartSDR v3.8.21 and the SmartSDR v3.8.21 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
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
- 271 Community Topics
- 2.1K New Ideas
- 543 The Flea Market
- 7.4K Software
- 6K SmartSDR for Windows
- 141 SmartSDR for Maestro and M models
- 342 SmartSDR for Mac
- 246 SmartSDR for iOS
- 227 SmartSDR CAT
- 165 DAX
- 360 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 61 FLEX-8000 Signature Series
- 816 Maestro
- 45 FlexControl
- 849 FLEX Series (Legacy) Radios
- 815 Genius Products
- 426 Power Genius XL Amplifier
- 269 Tuner Genius XL
- 95 Antenna Genius
- 234 Shack Infrastructure
- 159 Networking
- 388 Remote Operation (SmartLink)
- 130 Contesting
- 658 Peripherals & Station Integration
- 120 Amateur Radio Interests
- 833 Third-Party Software