SmartSDR v3.8.20 and the SmartSDR v3.8.20 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.
.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
- 260 Community Topics
- 2.1K New Ideas
- 538 The Flea Market
- 7.6K Software
- 6K SmartSDR for Windows
- 139 SmartSDR for Maestro and M models
- 368 SmartSDR for Mac
- 242 SmartSDR for iOS
- 226 SmartSDR CAT
- 175 DAX
- 345 SmartSDR API
- 8.8K Radios and Accessories
- 6.9K FLEX-6000 Signature Series
- 44 FLEX-8000 Signature Series
- 859 Maestro
- 45 FlexControl
- 849 FLEX Series (Legacy) Radios
- 807 Genius Products
- 424 Power Genius XL Amplifier
- 280 Tuner Genius XL
- 87 Antenna Genius
- 227 Shack Infrastructure
- 153 Networking
- 409 Remote Operation (SmartLink)
- 130 Contesting
- 640 Peripherals & Station Integration
- 116 Amateur Radio Interests
- 878 Third-Party Software