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.
What is the maximum length of the Group and Name properties of the Memory object in FlexLib?
K9DUR
Member ✭✭
There appears to be a maximum number of characters that you can assign to the Group & Name properties of the Memory object. Does anyone know what the limit is?
73, Ray, K9DUR
0
Answers
-
Ray, the short answer is they are String objects so the max is some really large number of characters. It is used in the memory object and I haven't actually seen where / how they are used. Short of Eric answering how these values are used/max practical size, I'd assume a really small number like a name. I've found no instances of getGroup() or getName() nor have I seen where memory objects are used. What you could do is start wireshark on the system where ssdr is running and listen on port 4992 to see where messages referring to group and name are passed.
_radio.SendCommand("memory set " + _index + " group=" + _group.Replace(' ', 'u007f'));
Could it maybe have something to do with upgrade?
0 -
Walt,
Unfortunately the short answer is wrong.
I am working on a memory management program. My program can create a .csv file with the same format as SmartSDR creates. However, if the Group or Name fields are too long in the .csv file, & I import it into SmartSDR, I get unpredictable results. The Data from one memory spills over into the next memory.
73, Ray, K9DUR
0 -
You can always use a Hex editor and look at the fields in the orignal file and see if each field is being padded with null characters at the end of the saved text. Unless the fields allow variable length. If the are fixed length just loop thru a specific field and count the characters. james WD5GWY0
-
I guess my answer depends on being able to access the file Flex uses. (Didn't think of that earlier) Maybe, the api has a section where the memory file is created/loaded. You could look for it in the uncompiled source code and see where it is defined. james0
-
Ray, in the software they are both strings, Memory.cs:145 "private string _group; " @177 private string _name;
The max size on a string is 2^31 characters long. Thanks to the other question on Memory, I now know what they are used for and why they show up nowhere in the source avaiable, the GUI uses them. I added a frequency and neither group nor name are filled in. Using the Memory screen I can not add beyond 32 for Name or group. The question you need to ask is are imports allowed? While in that snippet I showed on actually sending the group to the radio, I don't see a reference to name nor do I see a reference to "memory get" So I'd limit your spreadsheet to 32. Look at the doc, if you haven't to see what it says. It could be a bug if it never persists name but thinks it is there, again, check on the doc I am guessing it's a new feature? Either way, there is a bug as input logic should always vet the data coming in.
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
- 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