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.
Slice property change event trigger - frequency change
Paul RN3A
Member
I am trying to change slice frequency with slice.Freq = NewFrequency;
It does change the frequency of the slice almost instantly, but it doesn't seem to be triggering slice property event handler. But if I change slice frequency in SSDR, event handler triggers. What am I doing wrong?
I need this event handler to trigger, what needs to be done?
Paul RN3A
It does change the frequency of the slice almost instantly, but it doesn't seem to be triggering slice property event handler. But if I change slice frequency in SSDR, event handler triggers. What am I doing wrong?
I need this event handler to trigger, what needs to be done?
Paul RN3A
0
Answers
-
Based on what I am looking at, you should get a PropertyChanged event fired with that code so long as the NewFrequency is not the same as the existing one. This is an optimization to avoid unnecessary events from being triggered when the data is not changing. Could this be the issue?
0 -
The slice.PropertyChanged event works great now that I have it figured out. I do not see where it is documented on the wiki. Is it documented?
Before I learned out to use the slice.PropertyChanged, I was trying to use the SlicePanReferenceChangeEventHandler (Slice slc) which never fired. When is this event triggered?0 -
Is that event Public in Flelib? If not, you may not be able to use it. I tried, (unsuccessfully) to use events that I found in different classes in Flexlib , only to find out that they were not visible outside the lib itself. Visual Studio's intellisense usually prevents you from calling non-public classes and events. James WD5GWY0
-
The SlicePanReferenceChangeEventHandler (Slice slc) is documented as "Delegate event handler for the SlicePanReferenceChange event", but I don't know how to trigger that.
The slice.PropertyChanged and radio.PropertyChanged events don't have any documentation that I can find in the Wiki, but I have figured out how to use it by reading posts in the Community.
1 -
The wiki is primarily for the Ethernet API at this point. You can go to http://www.flexradio.com/flexlib for FlexLib Doxygen generated docs.
The SlicePanReferenceChangeEvent only fires when a Slice's Panadapter Reference is set. Since we typically don't change a Panadapter reference once a Slice is initialized today, this probably isn't terribly useful for you. I believe we use it in initialization.0
Leave a Comment
Categories
- All Categories
- 282 Community Topics
- 2.1K New Ideas
- 526 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 144 SmartSDR for Maestro and M models
- 350 SmartSDR for Mac
- 248 SmartSDR for iOS
- 228 SmartSDR CAT
- 169 DAX
- 352 SmartSDR API
- 8.7K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 1 FLEX-8000 Signature Series
- 839 Maestro
- 43 FlexControl
- 843 FLEX Series (Legacy) Radios
- 787 Genius Products
- 414 Power Genius XL Amplifier
- 274 Tuner Genius XL
- 99 Antenna Genius
- 242 Shack Infrastructure
- 166 Networking
- 402 Remote Operation (SmartLink)
- 124 Contesting
- 622 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 860 Third-Party Software