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.
Are there any API docs or examples?

Peter K1PGV
Member ✭✭✭
So, I'm looking at some classes... Beside the CAT example, are there any docs at all? Or example code? I see people referencing a Wiki... Where is that, please? Sorry to be so clueless... And a specific question: can multiple apps attach to and attempt to control the same radio and slice at the same time?
0
Answers
-
Here's a link to the Wiki, http://wiki.flexradio.com/ .
There's a lot of information in this forum. I do a lot of searches when looking for details.
You may have already seen this, but here's a link to a post here called Studying the CAT Project . One of the replies I found interesting was from Eric who explained a simple sequence to connect to the radio.
Yes, multiple apps can connect to the radio at the same time. Commands are transaction based, so different apps know which responses are meant for them and can send/receive commands from the same objects.
0 -
Thanks, Bill. Much appreciated. That's some good info for me to start with, at least.
TU and VY 73 de K1PGV
0 -
Hello Peter,
I asked a similar question about a week ago and it was suggested to me a post by Eric: https://community.flexradio.com/flexradio/topics/first_steps_with_flexlib
Looking better at the software, you'll discover that each step illustrated by Eric is present in the Main class constructor (Main.cs). For a correct usage of the "slice" objects you have to look at the method "ConnectRadio" in the same class.
So a good starting point is to study the Cat project.
I don't know if I can do it, but I could post a pdf with the class diagram of the "flexlib". I extracted it with Visual Studio 2012 (Ultimate Edition). The class structure is not very complex, but there is a lot of hidden logic that needs to be handled through events. These events are really so many but also very helpful.
Just to share our experiences: I think the "Cat" project keep the whole state of the radio (in the class CatStateManager). So on the one hand the program receives commands from the RS232 and on the other it sends the corresponding command via the ethernet port. I still haven't understood how this really happens: for the moment I am stopped at the Execute method in the CatBase CatBase (CatBase.cs). Maybe further explanations by Flex Developer Team could help us.
73' Enzo
iw7dmh0
Leave a Comment
Categories
- All Categories
- 338 Community Topics
- 2.1K New Ideas
- 607 The Flea Market
- 7.9K Software
- 6.3K SmartSDR for Windows
- 170 SmartSDR for Maestro and M models
- 401 SmartSDR for Mac
- 264 SmartSDR for iOS
- 247 SmartSDR CAT
- 185 DAX
- 371 SmartSDR API
- 9.1K Radios and Accessories
- 19 Aurora
- 190 FLEX-8000 Signature Series
- 7.1K FLEX-6000 Signature Series
- 913 Maestro
- 53 FlexControl
- 859 FLEX Series (Legacy) Radios
- 886 Genius Products
- 450 Power Genius XL Amplifier
- 320 Tuner Genius XL
- 116 Antenna Genius
- 281 Shack Infrastructure
- 197 Networking
- 442 Remote Operation (SmartLink)
- 137 Contesting
- 741 Peripherals & Station Integration
- 137 Amateur Radio Interests
- 954 Third-Party Software