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.20 and the SmartSDR v3.8.20 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
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.20 and the SmartSDR v3.8.20 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
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
- 260 Community Topics
- 2.1K New Ideas
- 538 The Flea Market
- 7.6K Software
- 6K SmartSDR for Windows
- 139 SmartSDR for Maestro and M models
- 368 SmartSDR for Mac
- 242 SmartSDR for iOS
- 226 SmartSDR CAT
- 175 DAX
- 345 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 45 FLEX-8000 Signature Series
- 859 Maestro
- 45 FlexControl
- 849 FLEX Series (Legacy) Radios
- 807 Genius Products
- 424 Power Genius XL Amplifier
- 280 Tuner Genius XL
- 87 Antenna Genius
- 227 Shack Infrastructure
- 153 Networking
- 410 Remote Operation (SmartLink)
- 130 Contesting
- 642 Peripherals & Station Integration
- 116 Amateur Radio Interests
- 878 Third-Party Software