Welcome to the FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
Need the latest SmartSDR or 4O3A Genius Product Software?
SmartSDR v3.9.19 and the SmartSDR v3.9.19 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
The latest 4O3A Genius Product Software and Firmware
SmartSDR v3.9.19 and the SmartSDR v3.9.19 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
The latest 4O3A Genius Product Software and Firmware
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
- 349 Community Topics
- 2.1K New Ideas
- 615 The Flea Market
- 8K Software
- 2 SmartSDR+
- 6.3K SmartSDR for Windows
- 173 SmartSDR for Maestro and M models
- 412 SmartSDR for Mac
- 267 SmartSDR for iOS
- 249 SmartSDR CAT
- 186 DAX
- 375 SmartSDR API
- 9.2K Radios and Accessories
- 22 Aurora
- 207 FLEX-8000 Signature Series
- 7.1K FLEX-6000 Signature Series
- 921 Maestro
- 53 FlexControl
- 860 FLEX Series (Legacy) Radios
- 894 Genius Products
- 455 Power Genius XL Amplifier
- 323 Tuner Genius XL
- 116 Antenna Genius
- 283 Shack Infrastructure
- 199 Networking
- 444 Remote Operation (SmartLink)
- 138 Contesting
- 754 Peripherals & Station Integration
- 139 Amateur Radio Interests
- 973 Third-Party Software