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
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
- 289 Community Topics
- 2.1K New Ideas
- 534 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
- 230 SmartSDR CAT
- 172 DAX
- 352 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 26 FLEX-8000 Signature Series
- 850 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 796 Genius Products
- 416 Power Genius XL Amplifier
- 277 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