A small utility to read SmartSDR radio metering points with ethernet API

  • 7
  • Idea
  • Updated 2 years ago
  • Implemented
In my quest to figure out how to talk to my Flex 6000 radio with the Ethernet API I wrote a program that exposes the metering reported by the radio Ethernet API. Please consider this software only as a science experiment and that it is given with the thought some people might enjoy playing with it.  I wrote it using my Flex 6700 with version 1.3.8 software. I have not tested it with any other radio or software version and there is no promise that it will work at all with your system.  I won’t be able to give any technical support for it but if you are want to try it on those terms, you are welcome to download it from the location listed below.  Please don't rely on any readings from this program to be correct.

When the radio is queried with the Ethernet API to list its meter points it lists them by source, name, and number. For each metering point the API also provides a units type as well as high and low meter range values. This program lists these items as reported by the radio. The program also uses the meter ranges as reported by the API. The description of each metering point that is displayed in the program also comes from the API response. For each unit type my program applies a formula that tries to interpret the raw data returned by API. The program output matches what the radio is displaying in many cases but in other places the values don't make sense to me.  I assume that is because I don't quite understand what is measured or how it is supposed to work, but it could be that some of the API responses are still a work in progress and are just incorrect.

This program does not install any files other than a small ini config file that saves some user settings. When you first start the program, it listens for broadcasts from a Flex 6000 and then lists the radios it finds. Select the radio you want monitor.  In the options menu you can chose automatically start the metering if there is only one radio on the network. In the Source box at the lower left of the program you should see several sources such as COD-, RAD, or SLC.  When you click on a source, the names of metering points associated with that source will be listed in the Name box.  For example clicking on RAD with my radio will show two DC volt measurement points (+13.8A and +13.8B).  Selecting one of the names will populate the Number box with possible choices. If for example there are several slices running on the radio, there will be several numbers listed when SLC is the selected source. If there is only one number for a given metering point, it will be automatically picked, but if there are more than one to choose from you must click which one you want to start reading the meter.

The download location is www.denzone.com .
Photo of Denley W3XY

Denley W3XY

  • 21 Posts
  • 5 Reply Likes

Posted 4 years ago

  • 7
Photo of lyndy brannen

lyndy brannen

  • 42 Posts
  • 5 Reply Likes
Appears to work well on my 6300.
Thanks
Photo of William Schauff

William Schauff

  • 10 Posts
  • 1 Reply Like
Hi Denley!

Many tnx for the utility!

Trying to use with my 6300,  on W7 , but get the following message when I try to connect the radio:

'-150,0' is not a valid floating point value.

Any idea??

73

William - py2gn
Photo of Denley W3XY

Denley W3XY

  • 21 Posts
  • 5 Reply Likes
Hi William,

Thanks for trying the program.  The problem is that my software assumes that there would be a decimal point separator in floating point numbers rather than the comma  that your version of Windows uses. When I get a chance I will see if I can fix that.

73
Denley   
Photo of WX7Y

WX7Y

  • 571 Posts
  • 104 Reply Likes
Works great here on Win7 64bit and Flex6700 
Thanks for the App
Bret
WX7Y
Photo of James Whiteway

James Whiteway

  • 905 Posts
  • 222 Reply Likes
Works just fine..........after I told my Windows Firewall(Vista) that is was OK to allow this program to do it's thing. (Using a 6300) One slight issue I did have, was once the program started, I had to change the meter selection from the default and then back for the meter to actually start. Other than that, it works just good.
   I am trying to write a couple of small apps for my 6300. I can ping the address and if the radio is on, it returns True, if it's not on, then it's False. BUT, and i hate to admit this, (but I will) I cannot get past that point! I can code in C#, but, I am more comfortable with VB.NET. (that may well be the issue) So, translating some of the C# code from Flex.lib etc. has been slow.
Again, thanks for posting your utility. It encourages others to keep plugging away!
james
WD5GWY
 
Photo of W0DHB

W0DHB

  • 43 Posts
  • 9 Reply Likes
I've been using Flexlib with VB.net successfully and have some snippets I can provide.

Nothing Fancy yet, but I'm using various functions.

Dave W0DHB
Photo of James Whiteway

James Whiteway

  • 905 Posts
  • 222 Reply Likes
Dave, I would DEFINITELY like to see you VB.NET code if you don't mind sharing.
I have some C# code that has been shared here along with a couple of bits of my own, that work. But, getting things going in VB.Net has been a bit of a pain. Anything you are willing to share would be greatly appreciated!
james
WD5GWY
(email is good on qrz.com)
 
Photo of Pete - W6OP

Pete - W6OP

  • 22 Posts
  • 8 Reply Likes
To translate from C# to VB.Net - There are several free online converters, one is http://www.developerfusion.com/tools/convert/csharp-to-vb/ Don't try to convert an entire class at one time, just use a single method or a small snippet. They work pretty good. I program in both so don't have a problem but using the converter saves time with curly braces, etc.
Photo of James Whiteway

James Whiteway

  • 905 Posts
  • 222 Reply Likes
Thanks Pete, good suggestion. I was trying to convert too much and that did present some problems.
james
WD5GWY
Photo of IW7DMH, Enzo

IW7DMH, Enzo

  • 353 Posts
  • 84 Reply Likes
Thank you Denley,

it works fine also on my 6300. Very nice!
I am still locked in the "discovering" of my radio and I would be glad if you could give me any help. I also posted a question on this post https://community.flexradio.com/flexradio/topics/getting-started-question
As soon as I make it works, I will send a zip file with my experimental project. It seems other friends are asking for this but no public answer until now.

73' and thank you again
Enzo
iw7dmh
Photo of Ernest - W4EG

Ernest - W4EG

  • 594 Posts
  • 116 Reply Likes
Thanks Denly,
Install meter several days ago and I been playing with it.
Love all the parameters that are available to check the functionality of my F-6700.
The readings are right on for most of the functions.
Hope to see a similar meter available for our radios.
73  
Photo of Dale KB5VE

Dale KB5VE

  • 412 Posts
  • 56 Reply Likes
Like wise I have installed on a Windows 6 core with 12 gig memory running Win 7 64 bit. absolutely no issues. I like the voltage before and after fuse surprised in the amount of drop.  a lot of it is greek to me but makes a nice add on to my three Screen system. If you have a blg or form where the funtions are discussed I would like to sit in. thank you for another reason I like the SDR .
Photo of Dale KB5VE

Dale KB5VE

  • 412 Posts
  • 56 Reply Likes
I questioned the voltage drop myself seemed really high.
Photo of Burt Fisher

Burt Fisher

  • 1105 Posts
  • 383 Reply Likes
If he can make a utility to reads the temp why cant we do the same on SmartSDR?
Photo of Dale KB5VE

Dale KB5VE

  • 412 Posts
  • 56 Reply Likes
Burt we are talking about smart sdr. You can download Fldigi and one of the screens read temp of the 6000
Photo of Burt Fisher

Burt Fisher

  • 1105 Posts
  • 383 Reply Likes
Didn't I say SmartSDR? You are saying Fdigi reads temp?
Photo of Dale KB5VE

Dale KB5VE

  • 412 Posts
  • 56 Reply Likes
Yes fldigi has that feature, I keep it running all the time.
Photo of Roger Rockwell/na4rr

Roger Rockwell/na4rr

  • 69 Posts
  • 10 Reply Likes
Thanks Denley..   I downloaded and it works great on my Win8 and 6700.

Roger
Photo of Brian - W9HLQ

Brian - W9HLQ

  • 50 Posts
  • 15 Reply Likes
Denley,   Any chance you can add another meter to include S meter style calibration markings?  I hate to admit, but reading he dBm values is annoying to me and having S meter reading would be helpful.   Thank you,   Brian, W9HLQ
Photo of Chuck - KJ6HT

Chuck - KJ6HT

  • 49 Posts
  • 8 Reply Likes
Thanks Denley! Works great, you give hope to those of us that are just getting past "Hello World".
Photo of John - WA7UAR

John - WA7UAR

  • 113 Posts
  • 25 Reply Likes
Denly's website (denzone.com) seems offline at the time of my posting here. I checked on Archive.org and found a earlier .ZIP file of his FlexMeter software on Dropbox. It contains a .TXT note and a .EXE Windows application file. Hopefully this link will remain available for people who have been unable to find the software at Denly's website. 

https://www.dropbox.com/s/igsnaxr91y8lhga/FlexMeter.zip

Regards to all,
de John, WA7UAR

PS. The "Flexmeter notes.txt" file is reproduced below:
--- QUOTE --
In my quest to figure out how to talk to my Flex 6000 radio with the Ethernet API I wrote a program that exposes the metering reported by the radio Ethernet API. Please consider this software only as a science experiment and that it is given with the thought some people might enjoy playing with it.  I wrote it using my Flex 6700 with version 1.3.8 software. I have not tested it with any other radio or software version and there is no promise that it will work at all with your system.  I wonít be able to give any technical support for it but if you are want to try it on those terms, you are welcome to download it from the location listed below.  Please don't rely on any readings from this program to be correct.
When the radio is queried with the Ethernet API to list its meter points it lists them by source, name, and number. For each metering point the API also provides a units type as well as high and low meter range values. This program lists these items as reported by the radio. The program also uses the meter ranges as reported by the API. The description of each metering point that is displayed in the program also comes from the API response. For each unit type my program applies a formula that tries to interpret the raw data returned by API. The program output matches what the radio is displaying in many cases but in other places the values don't make sense to me.  I assume that is because I don't quite understand what is measured or how it is supposed to work, but it could be that some of the API responses are still a work in progress and are just incorrect. 

This program does not install any files other than a small ini config file that saves some user settings. When you first start the program, it listens for broadcasts from a Flex 6000 and then lists the radios it finds. Select the radio you want monitor.  In the options menu you can chose automatically start the metering if there is only one radio on the network. In the Source box at the lower left of the program you should see several sources such as COD-, RAD, or SLC.  When you click on a source, the names of metering points associated with that source will be listed in the Name box.  For example clicking on RAD with my radio will show two DC volt measurement points (+13.8A and +13.8B).  Selecting one of the names will populate the Number box with possible choices. If for example there are several slices running on the radio, there will be several numbers listed when SLC is the selected source. If there is only one number for a given metering point, it will be automatically picked, but if there are more than one to choose from you must click which one you want to start reading the meter.

The download location is [denzone (dot) com]

Typical Source Names:
COD- (Codec)
RAD (Radio)
SLC (Slice)
TX- (Transmitter)
--- END QUOTE ---