SmartSDR v3.9.19 and the SmartSDR v3.9.19 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 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
- 328 Community Topics
- 2.1K New Ideas
- 594 The Flea Market
- 7.8K Software
- 6.2K SmartSDR for Windows
- 168 SmartSDR for Maestro and M models
- 397 SmartSDR for Mac
- 260 SmartSDR for iOS
- 247 SmartSDR CAT
- 179 DAX
- 369 SmartSDR API
- 9.1K Radios and Accessories
- 15 Aurora
- 162 FLEX-8000 Signature Series
- 7.1K FLEX-6000 Signature Series
- 909 Maestro
- 51 FlexControl
- 854 FLEX Series (Legacy) Radios
- 873 Genius Products
- 446 Power Genius XL Amplifier
- 312 Tuner Genius XL
- 115 Antenna Genius
- 278 Shack Infrastructure
- 196 Networking
- 439 Remote Operation (SmartLink)
- 135 Contesting
- 725 Peripherals & Station Integration
- 136 Amateur Radio Interests
- 945 Third-Party Software