Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
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.

Is the FlexRadio GUI library available?

FlexRadio is generous with their API access. I wouldn't be surprised if they also allow access to their GUI library. Is the FlexRadio GUI library available? It would go far encouraging new developers to program to a common look and behavior. I'm not a GUI guy, I am a low level backend coder. The GUI would save me a lot time while coding in C# on Windows and Linux - I am determined to write a SmartSDR-like client for Linux.


-Freeman, N5FPP

Answers

  • Trucker
    Trucker Member ✭✭

    As far as I know, there is no "GUI library " for SmartSDR. Flex Radio uses several off the shelf custom controls for creating the SmartSDR GUI. Look in the SmartSDR install subfolder and you will see several dll files that they use. However, Visual Studio won't link to them and expose the parameters needed unless you have a license from the vendor.

    So, your choices are limited to purchasing the controls from the vendor, looking for equivalent freeware controls or rolling your own.

    James

    WD5GWY

  • Mike-VA3MW
    Mike-VA3MW Administrator, FlexRadio Employee, Community Manager, Super Elmer, Moderator admin
    edited May 31
  • Trucker
    Trucker Member ✭✭

    Mike , the Flex API contains no graphical elements for drawing an interface as the OP inquired about. What it does do is provide data from the radio that can be used to construct an interface. The panadapter spectrum line is an example. The radio sends values that can be used to draw the spectrum line. But, it doesn't define the container. The form displayed and its various controls are either custom controls that Flex developers use from a 3rd party, along with controls in Visual Studio that are provided by Microsoft.

    But, unless something has drastically changed, Flex Radio does not provide an api ( dll files) for the actual controls that are used for displaying data to and from the radio nor for creating the interface. The breakaway windows used in v3.x is an example of custom controls that Flex uses. Those are custom controls from a commercial company that sells specialized controls that do more than the normal Windows controls do.

    And a developer who doesn't have a license from that company cannot use them in their application. The Flex Library API's simply provide a method to control the radio and use data to and from the radio for control. Nothing more.

    But, it is a nice thing to have.

    James

    WD5GWY

  • Eric-KE5DTO
    Eric-KE5DTO Administrator, FlexRadio Employee admin

    We've talked about doing something like this (exposing a "Radio Chooser" GUI component) that would help get people off the ground when doing a C# WPF application. We haven't ever "gotten around" to making that happen though. I know there are some in the community that have done their own version of that window that may be willing to consult if that's the kind of thing you're looking for.

    I can also say that we're very open to answering questions on "how did you get it to look like that" or "how did you get it to present X when Y is happening," etc. Either posting specific questions here in the community is fine or you can send us email to devhelp AT flexradio D0T com (excuse the syntax, avoiding scrapers).

  • Freeman Pascal
    Freeman Pascal Member
    Eric,

    I would find that useful, especially if I could get it to run natively under Linux through Mono and C#.

    What is FlexRadio's stand on duplicating or emulating the Slice UI? The use of the receiver flag as a frequency indicator is inspired. Having it wrap all the parameters of the receiver and transmitter is very cool. I hope the design is not covered by a design patent.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.