SmartSDR v4.0.1 and the SmartSDR v4.0.1 Release Notes
SmartSDR v3.10.15 and the SmartSDR v3.10.15 Release Notes
The latest 4O3A Genius Product Software and Firmware
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
.NET API "Hello World?"
Answers
-
Looks good Brian. I am glad that you got it all sorted out.
I am also a huge fan of the decimal data type. Years ago I coded in PL/I where it was called Fixed Decimal. You declare your variable to have as many total digits as you need, followed by the number of digits to the right of the decimal. So something like declare Freq fixed decimal (10,6). I have not yet played with the decimal type in C#, but I can sure see the benefits that it brings.
My preference when dealing with frequency is to just do everything in Hz (i.e. using one of the integer types) then scale and format it at display time.
0 -
I'm with you, Len - past radio-libraries I've built were all Hz-based :) I chose to stick with MHz to stay as close to Flex's expectations as possible. Decimal is what you'd expect - an internally-managed fixed decimal format. You don't have to declare digits but it does have limits. They're huge and small so I don't even worry about them.
I dabbled in PL/I a very long time ago. My employer had S/38's running RPG converting to AS/400 and PL/I was an option. It would have required too much re-write so we stuck with RPG. Not sure that was the best choice...
Next step is to decide what I want the dials and buttons to do on my 2 FlexControls and wire them up. At slow tuning rates the flicker is not a big deal. Flex certainly does a better job "inside" of SmartSDR, but for the API->radio->client loop it's not too bad at all.
73
-Brian n8wrl
0 -
Wow, haven't heard "System 38" spoken out loud for a very long time!
Flex did a really good job of distilling down the most useful knobs and buttons on the Maestro. I would take a peek at the Maestro panel layout to get ideas for prioritizing your own control functions.
With your approach, you can build single-button functionality for things that might take multiple clicks otherwise. Knobs or buttons can even change what they do depending on mode or other factors. The API gives you some serious creative license!
0 -
Yeah - that's my thought too. Have to spend more time operating to figure out what those sequences would be! I'm a 30-year Yaesu guy who recently changed to Flex, and I definitely had workflows with the Yaesu's. Lots of CAT automation there too.
73
-Brian n8wrl
0
Leave a Comment
Categories
- All Categories
- 363 Community Topics
- 2.1K New Ideas
- 624 The Flea Market
- 8.1K Software
- 69 SmartSDR+
- 6.4K SmartSDR for Windows
- 182 SmartSDR for Maestro and M models
- 420 SmartSDR for Mac
- 270 SmartSDR for iOS
- 253 SmartSDR CAT
- 188 DAX
- 379 SmartSDR API
- 9.3K Radios and Accessories
- 30 Aurora
- 233 FLEX-8000 Signature Series
- 7.2K FLEX-6000 Signature Series
- 932 Maestro
- 53 FlexControl
- 863 FLEX Series (Legacy) Radios
- 909 Genius Products
- 460 Power Genius XL Amplifier
- 329 Tuner Genius XL
- 120 Antenna Genius
- 291 Shack Infrastructure
- 204 Networking
- 447 Remote Operation (SmartLink)
- 142 Contesting
- 771 Peripherals & Station Integration
- 139 Amateur Radio Interests
- 989 Third-Party Software
