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, and Tuner Genius Software?
SmartSDR v3.3.32 and the SmartSDR v3.3.32 Release Notes | SmartSDR v2.7.6 and the SmartSDR v2.7.6 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.6.24 and the Power Genius XL Release Notes v3.6.24
Tuner Genius XL Utility v1.1.8 and the Tuner Genius XL Release Notes v1.1.8
SmartSDR v3.3.32 and the SmartSDR v3.3.32 Release Notes | SmartSDR v2.7.6 and the SmartSDR v2.7.6 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.6.24 and the Power Genius XL Release Notes v3.6.24
Tuner Genius XL Utility v1.1.8 and the Tuner Genius XL Release Notes v1.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
- 18.5K All Categories
- 132 Community Topics
- 2K New Ideas
- 280 The Flea Market
- 6.2K Software
- 5.4K SmartSDR for Windows
- 93 SmartSDR for Maestro and M models
- 211 SmartSDR for Mac
- 188 SmartSDR for iOS
- 180 SmartSDR CAT
- 115 DAX
- 321 SmartSDR API
- 7.8K Radios and Accessories
- 6.4K FLEX-6000 Signature Series
- 631 Maestro
- 29 FlexControl
- 777 FLEX Series (Legacy) Radios
- 409 Genius Products
- 241 Power Genius XL Amplifier
- 145 Tuner Genius XL
- 23 Antenna Genius
- 119 Shack Infrastructure
- 75 Networking
- 204 Remote Operation (SmartLink)
- 91 Contesting
- 307 Peripherals & Station Integration
- 87 Amateur Radio Interests
- 582 Third-Party Software