Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
Need the latest SmartSDR, Power Genius, Tuner Genius and Antenna Genius Software?
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
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
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
Extreme DAX sample rate weirdness (low-level)
Andrew Rodland
Member ✭✭
So I'll begin by saying that I'm using my own implementation of the TCP API and DAX for Linux to talk to my 6400M (you can see more about that in my post history). I don't have a Windows or macOS machine in the house (although I can run a Windows 10 VM as required). I've had a few bumps along the road, including dealing with timebase skew to make sure that my audio buffers don't underrun or overrun... but I thought I had things reasonably well sorted out.
However, today, I absolutely could not the audio to quit stuttering. I tried rebooting the Flex, downgrading SmartSDR on the Flex, upgrading SmartSDR on the Flex, using a different PC, using a different version of my DAX driver, and connecting with the Windows version of SmartSDR in hopes that it would clear out some hidden setting I don't know about — all to no effect.
So I decided to fire up wireshark and do a packet dump of the incoming VITA49 packets. Everything looks neat, there are no gaps in the sequence numbers, the packets come at a predictable interval... only problem is that interval is about 5743 microseconds when it should be 5333. During a span of 100 seconds, I received 17,308 packets (should be 18,750). In other words, the Flex is giving me about 44.31 ksps instead of 48k!
Why in the world is this happening? My PCs are synchronized to NTP stratum-1 using Chrony, my Flex is locked to a ppb-accurate 10MHz reference, there's no tuning error whatsoever on the Flex, and the audio out of the Flex's speaker is fine.
However, today, I absolutely could not the audio to quit stuttering. I tried rebooting the Flex, downgrading SmartSDR on the Flex, upgrading SmartSDR on the Flex, using a different PC, using a different version of my DAX driver, and connecting with the Windows version of SmartSDR in hopes that it would clear out some hidden setting I don't know about — all to no effect.
So I decided to fire up wireshark and do a packet dump of the incoming VITA49 packets. Everything looks neat, there are no gaps in the sequence numbers, the packets come at a predictable interval... only problem is that interval is about 5743 microseconds when it should be 5333. During a span of 100 seconds, I received 17,308 packets (should be 18,750). In other words, the Flex is giving me about 44.31 ksps instead of 48k!
Why in the world is this happening? My PCs are synchronized to NTP stratum-1 using Chrony, my Flex is locked to a ppb-accurate 10MHz reference, there's no tuning error whatsoever on the Flex, and the audio out of the Flex's speaker is fine.
0
Comments
-
I can provide a PCAP dump file if that would help at all.0
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 535 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
- 231 SmartSDR CAT
- 172 DAX
- 352 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 29 FLEX-8000 Signature Series
- 851 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 798 Genius Products
- 417 Power Genius XL Amplifier
- 278 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