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.
Odd result from checking .SliceList.Count
Anthony Bowyer
Member ✭✭
Given that _thisRadio is a found and connected instance of Radio, I have found what seems to be an odd result from a test of the value of _thisRadio.SliceList.Count.
In this case, the radio is a 6300. If two slices are 'active', it is my assumption, that on connecting to said radio, SliceList.Count will be 2. Single stepping thru a simple program shows this to be the case until it gets to a line that says "If (_thisRadio.SliceList.Count > 1)", etc.
At this point, SliceList,Count becomes 0. If I set a variable to SliceList.Count, and test the variable there's no issue, but if I test directly, it will get changed to 0 every time.
I assume something is changing it, but there's nothing in place in the program that does so and I am unable to find anything in Flexlib that might be doing it (though searching thru it is a bit tedious when you aren't sure what you're looking for).
In this case, the radio is a 6300. If two slices are 'active', it is my assumption, that on connecting to said radio, SliceList.Count will be 2. Single stepping thru a simple program shows this to be the case until it gets to a line that says "If (_thisRadio.SliceList.Count > 1)", etc.
At this point, SliceList,Count becomes 0. If I set a variable to SliceList.Count, and test the variable there's no issue, but if I test directly, it will get changed to 0 every time.
I assume something is changing it, but there's nothing in place in the program that does so and I am unable to find anything in Flexlib that might be doing it (though searching thru it is a bit tedious when you aren't sure what you're looking for).
0
Answers
-
I believe that the slice count starts at 0. Slice A=0 Slice B=1, etc. So, if you are getting 1 back, then that "should" mean you have two active slices. I'm sure I read that somewhere here in a post by Steve. James WD5GWY0
-
I'm too quick on the trigger! My response wasn't what you were looking for. Sorry about that.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
- 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