Behringer CMD Micro DJ Midi Controller for use with Flex 6000

  • 12
  • Idea
  • Updated 2 years ago
I wrote an application in the Processing IDE to interface the Behringer CMD Micro with the flex 6000 series radios.  The program utilizes the TCPIP API to interface with the radio.  This program is given free of charge with no expressed or implied warranty.  Please feel free to modify the source as you see fit.

Here is the latest alpha (possibly buggy) version for the CMD Micro.  This version has the following new features.

1.  Improved Frequency control - no more floating point errors (.0001+.0001 no longer = 3 LOL)
2.  New steps 1 -amber/10-blue/50- flashing
3.  Jog wheels x5 step when spun fast, for quick movements
4.  Vox key replaced with "Shift" button.  If shift is lit, the functions listed above the button/dial are available.  This opens up the possibility for more future functions.

Give it a test and report back!  Much more work to clean this up and add new features.  But before continuing, I would like this tested thoroughly.

https://www.dropbox.com/s/ln4hq84g663808c/CMDMicroFlex6k_v2_0.zip?dl=0



William
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes

Posted 5 years ago

  • 12
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 982 Posts
  • 181 Reply Likes
William, I really like your programs very much. My CMD and notebook as it looks now:


Small, but works fine. Below are the TRX TS-2000X for V/U/SHF and HF digital modes and the IC-756Pro for CW and PACTOR/AMTOR and above the ID-5100 for D-Star
and the TM-D710 for APRS, the Flex-6500 and lots of TNCs... All controlled by
one notebook, a VAIO I7 QuadCore with 1 TB SSD and 16 gigs RAM.
73, Alex DH2ID
(Edited)
Photo of EA4GLI - 8P9EH - Salvador

EA4GLI - 8P9EH - Salvador

  • 1784 Posts
  • 547 Reply Likes
Alex I love your gear.

I have had an Icom IC-756 and IC-756Pro2, both great radios. I am looking into a ts-2000 for sat and VHF-UHF work. Add a massive 28 inch 4K 60Hz monitor in the middle, the new Expert 1.3k and I am set.

I like your taste in equipment.
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 982 Posts
  • 181 Reply Likes
Hola Salvador,
me gusta el TS-2000X porque esta muy bien por las ondas cortas tambien.
I especially like the possibility to use it for all digital modes from 160m to 23cm.
Saludos,
Alejandro
Photo of EA4GLI - 8P9EH - Salvador

EA4GLI - 8P9EH - Salvador

  • 1784 Posts
  • 547 Reply Likes
I am undecided between buying a new TS-2000, which is a 10+ year old technology and has the SO-50 birdie or try my luck with a couple of transverters and the flex radio. The advantage of the transverter is being able to use the 1500 which has been collecting dust since I have the 6300. The advantage of the TS-2000 is a fairly small all in one 100w radio which could be my portable rig and replace the 857d. The other advantage of the transverter is the utility regardless of the gear.

I also think that I want to upgrade from the 6300 to the 6700 before I purchase the TS2000 or anything else radio wise.... 
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 982 Posts
  • 181 Reply Likes
I have kept my 857d for mobile work, as it tunes the ATAS antenna. Of course the TS-2000 is "old technology" but it's noise reduction and DSP is great. And I don't like transverters.
(Edited)
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Here is a special version for people that use external tuner.  Only change is ATU and Tune are swapped.  https://www.dropbox.com/s/8pjm1jnkoiba23k/CMDMicroFlex6k_v2_0_ExTune.zip?dl=0

William
Photo of Giulio

Giulio

  • 37 Posts
  • 8 Reply Likes
Dear William,
Do you have a list of Dj Midi controllers that we can use and program with your softwares?
Thanks for your help,
Giulio
Photo of Giulio

Giulio

  • 37 Posts
  • 8 Reply Likes
Thanks Alex,
btw, is there a list of Controllers that can be programmed by the software of William?
G. IZ3EAW
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 979 Posts
  • 180 Reply Likes
No, Giulio, you have to look it up in the community. But the CMD micro is the
controller that works best. I use it regularly. 73, Alex - DH2ID
Photo of K4MT

K4MT

  • 26 Posts
  • 10 Reply Likes
It works great. I just purchased Williams Behringer and Flex 6300.  The Behringer works super and I use it all the time.  William is a sharp guy
Photo of Robert Paluf

Robert Paluf

  • 9 Posts
  • 1 Reply Like
Dear William,

Thank you so much for this application for my recently acquired Flex 6300.  I have a temporary weak power supply so no transmissions right now.  I am using the Behringer CMD and like it so far.  I have just come off of a Flex 1500 with the Hercules Midi Controller using Tobias's software.  I intend to provide comments in about 30 days.
Thanks again and best of 73,
Bob, KVJO
(Edited)
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 979 Posts
  • 180 Reply Likes
The Behringer CMD with William's software is a great combination. 
William was also developing an Android app, but got stuck with audio stream problems.
I haven't heard from him for a long time and hope he is well.
73, Alex - DH2ID
Photo of Sergey, R5AU

Sergey, R5AU

  • 862 Posts
  • 117 Reply Likes
Yeah, 1 year in usage with CMD Micro DJ  !
BTW, William , we are looking forward :-)  any updates, improvements ?
Photo of Carl Moreschi

Carl Moreschi

  • 39 Posts
  • 5 Reply Likes
My N4PY Pegasus Plus fully supports this device.  And all controls on it are fully user defineable.
Photo of Sergey, R5AU

Sergey, R5AU

  • 862 Posts
  • 117 Reply Likes
Carl sounds good, however:
from N4PU manual
                                     PC to Radio Serial Connection
 Connect a 9 pin serial port cable between the radio and an available COM port on your PC. ....etc

You know we are expecting connection through Ethernet API 
(Edited)
Photo of Carl Moreschi

Carl Moreschi

  • 39 Posts
  • 5 Reply Likes
That is for other radios.  The Flex 6000's radios connect via ethernet.  No CAT or anything else is needed even for logging programs.  Everything connect via N4PY.
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 982 Posts
  • 181 Reply Likes
Thanks, it works! And thank you for using the shift key to set two functions for some keys.
Do you think that it is possible to set a second function to the mode knob to change profiles or bands?
73,Alex DH2ID
(Edited)
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Band changing is the next thing on my list.  Profiles are harder, as they are custom names.  Which profiles are you referring too? TX, MIC, Global?
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 982 Posts
  • 181 Reply Likes
Global and TX. But band changes would be sufficient.
I use a lot of different profiles for digi, cw, ssb, fm, vlf and time signals, fax and rtty. All with specific TX settings. I think it would be a bit too complex to make all that changeable.
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
I can pull the profile list in the API, but I could only cycle them in the order they are discovered. . One possibility is a pulldown to select which profile to set to which key.  But this will be a bit of work.
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 982 Posts
  • 181 Reply Likes
I would appreciate that very much :-)
BTW I will be at the HamRadio fair in June. http://www.hamradio-friedrichshafen.de/
Looking forward to meet some Flexers there...
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
For band changes, I was thinking of using Shift then mode dial.  This will be a fairly easy change, but profiles will be very complex.  Building pulldown menus is no easy task.  Maybe one day.  No time soon.
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 982 Posts
  • 181 Reply Likes
OK - shift mode for band change would be great!
(Edited)
Photo of KY6LA - Howard

KY6LA - Howard, Elmer

  • 3789 Posts
  • 1638 Reply Likes
I will be at Friedrichshafen too
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 982 Posts
  • 181 Reply Likes
Howard, I will be there from Friday to Sunday, QRV on 434.900 simplex and hanging around the FRS stand, of course :-)
Photo of KY6LA - Howard

KY6LA - Howard, Elmer

  • 3789 Posts
  • 1638 Reply Likes
I usually hang around the FRS stand as well.. Be there Friday to Sat or Sunday.. Albeit I just got invited to a mobile DXpedition starting in OK Land on Sunday..
Photo of Paul Sokoloff

Paul Sokoloff

  • 23 Posts
  • 2 Reply Likes
Hello,  Using this with Flex 6300.  I appreciate your work, but the unit does not work correctly with transverters.  50 MHz is OK, 144 starts to stutter when tuned, when using on 222, tuning the knob left and right does not move smoothly and changes bands to 2 meters and back to 222 as it tunes.  bands above that do not work well.  I was hoping the new version would fix this 
Photo of James Whiteway

James Whiteway

  • 1061 Posts
  • 303 Reply Likes
This app has not been updated in a long time. It is likely it never will be.
James
WD5GWY
(Edited)
Photo of Paul Sokoloff

Paul Sokoloff

  • 23 Posts
  • 2 Reply Likes
OK Thank you.
Photo of Carl Moreschi

Carl Moreschi

  • 39 Posts
  • 5 Reply Likes
My N4PY Pegasus Plus fully supports all the Flex 6000 radios and transverters.  It has full user selection of all the Behringer controls allowing you to set up the device any way you want.
Photo of Al K0VM

Al K0VM, Elmer

  • 615 Posts
  • 103 Reply Likes
William,
  Thanks for your work..

AL, K0VM
Photo of Bob- W5TX

Bob- W5TX

  • 122 Posts
  • 22 Reply Likes
Question. Not familiar with Midi controllers. Are key/buttons labeled via software? If not how do you make labels. Like the idea.
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 979 Posts
  • 180 Reply Likes
Bob, I bought the Brother P-Touch 2430 and 6mm white on black Tape. 
The labels are very durable, stick to the buttons and look just great.

http://www.amazon.com/Brother-P-Touch-2430PC-Label-PT-2430/dp/B0096XTGOS

73,
Alex DH2ID
(Edited)
Photo of Bob - W7KWS -

Bob - W7KWS -

  • 328 Posts
  • 54 Reply Likes
Hi William,

It gets better and better.  Thanks!  Glad you're back on the Micro.

I do have a couple of items I'd like to get your thoughts on.

1.  The switch back from 250 Hz. to 50 Hz.step size is very fast.  I've tried to turn the knob fast enough to keep it in 250 Hz. mode but it reverts during each every revolution.  If the revert delay time was just a bit longer it would probably remain in 250 Hz. mode during an entire trip from one part of the band to another.

2. I was wondering if you have had any thoughts on my earlier post regarding a swap of the two sides of the panel.  I don't know if you are right or left handed but I'm a rightly.  When I use my right hand to tune slice A on the left, my arm covers much of the panel.  If I could swap the knobs, I could use my left hand on the volume, AGC, PTT, Etc. without moving my right hand, saving a lot of movement.

Thanks for your consideration & thanks again for the software.  Great stuff.

Bob
(Edited)
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Bob,

The delay is a good idea, and I will experiment with that.  When you say switch sides I assume you mean swap vfo a/b/ the a/b buttons/ the vfo vol/ agct.  Anything else?

I am a righty, but use my left hand to tune.

This is not too difficult and I may incorporate in a future release.  Just let me know what buttons should swap with the dials.

William
(Edited)
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
All,

This version addresses the need to swap stuff around.  I'm not sure if this is a permanent solution, but it address the immediate need.



The var.txt file located in the data directory can be edited to swap certain functions.  However keep in mind, a jog wheel must be swapped with a jog wheel, a button for a button, and slider for a slider.

The current changeable functions are annotated by a number in the app window as seen above.

Here is the default settings in the vat.txt

vfoa=17;
vfob=33;
selecta=48;
selectb=49;
vola=18;
volb=34;
agca=16;
agcb=32;

If you would like to swap AGC and VOL

vfoa=17;
vfob=33;
selecta=48;
selectb=49;
vola=16;
volb=32;
agca=18;
agcb=34;

If you would like to completely swap Slice A controls to the right side.

vfoa=33;
vfob=17;
selecta=49;
selectb=48;
vola=34;
volb=18;
agca=32;
agcb=16;

When editing the var.txt file, do not add any spacing or reformat in any way.  Just change the values and save.

Give it a try and let me know. 

https://www.dropbox.com/s/fhy99o5d4o8r32y/CMDMicroFlex6k_v2_0b.zip?dl=0

and this version adds a delay in switching from 5x step back to 1x step.  This allows you to maintain the 5x speed better.  Try it out and report back if more delay is needed, or you just hate it.  LOL

https://www.dropbox.com/s/rv08z9aaxo0ixlp/CMDMicroFlex6k_v2_0c.zip?dl=0

William
(Edited)
Photo of Vit

Vit

  • 2 Posts
  • 0 Reply Likes
Hello, I am Midi Controller beginer, my question is .. is it possible modify  vat.txt to my own arrangement?. If yes, how?...... 73 from Vit, OK5MM
Photo of Vit

Vit

  • 2 Posts
  • 0 Reply Likes
..... my email adress....     ok5mm@post.cz
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
WOW! William, you are truly amazing. I'll try this and probably have to take quite a bit more time than you did writing it.

Originally I was thinking just the knobs but you've given me a chance to try all kind of arrangements. The way you've done this appears to be universal. I can't imagine anything better than everything.

Bob
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Maybe I will make more buttons and knobs swappable, however there are limitations.  Only a few buttons have addressable LED's (PTT, Shift, STEP, A<>B, +RX).   So these buttons could only be swapped among themselves.  There is only one rotary encoder, so its functions will be static. 

I'm open to suggestions on what other buttons to make swappable with the above limitations.

I was thinking Step and Shift would be a good idea.  No reason to swap PTT, they are the same (there is no PTTA and PTTB, its just PTT).  Also swapping the filter buttons withe the NR<>NB may be a good idea also.

I also think I should make RF a shift function and HP volume the primary for that dial.  I'm also considering making NR and NB shift functions and Zoom primary.

When I add Band switching to the dial, would it be best to have band the primary and mode the shift?  Personally I think I would use band switching more than mode switching.

Looking for suggestions on all of this.

William
Photo of Bob - W7KWS -

Bob - W7KWS -

  • 321 Posts
  • 52 Reply Likes
William,

The knob swap works well. I'll try other buttons after I get home this afternoon.

I think a second look at the gear shift would be a good idea.  The timing seems longer than before but it still won't stay at 250 Hz. no matter how fast I turn the knob.

Are you reinitializing the timer frequently before it reaches zero if the knob speed is still above the "fast" threshold?

I haven't written software in 30-years, during the days of the 8080 and assembly language, but what I describe above is how I would have looked at it then.  I don't know if it applies to today's methods or not.  I hope this helps.

Bob
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
The answer to your question is yes, and I have played with the timings since and have found I need to go way higher on the delay.  The current version will not decrement the step until it receives 20 encoder ticks at the slower speed.  This was too low.  My current test version is using 100.  I also lowered the speed required by to switch speeds by 1.  I can now easily maintain x5 speed.  I will post this version later.  But have more idea to add first
Photo of Ken - NM9P

Ken - NM9P, Elmer

  • 4171 Posts
  • 1330 Reply Likes
If the "Gear Shift" on the CMD Micro works like the one on my PL-1, it only works as long as your finger is on the metallic center part of the button.  If you "throw" it and let go, it shifts back into slow mode.  

In the code William wrote for the PL-1, there are two "Shift Levers" for the gear shift.

One is the touch sensitive plate on the knob.  When you touch it, it sends one code, when you release it, it sends a different code.  If you put your finger on this part of the knob, it takes the "Slowdown" part out of the routine.  It still increments at the selected step, but the step gets bumped more often for a given motion of the dial.

The second shifter is the velocity of the spin.  When the spin is above a set level, the step size changes by a factor of 10.  (from 50 to 500 Hz, for example)

But here is the snag.  If I read the code correctly, the X10 shift only engages if you are touching the touch-plate on the knob.  If you let go, the speed and step size change back to normal.

At least this is the way it appears to function at my station.

I actually like the way it functions.  Though a little delay after releasing the touch plate might be OK.

Ken - NM9P
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
Hi Ken,

I think that William has switched from touch sensitive to speed sensitive. I personally prefer speed sensitive as I've attached taller knobs to the Micro. They really make tuning easier for me. They are aluminum so I can wrap the sides with shrink tubing depending which method William settles on but I'm enthused for speed sensitive. Probably because I've used other transceivers for so many years that do it this way.

Bob
(Edited)
Photo of Ken - NM9P

Ken - NM9P, Elmer

  • 4171 Posts
  • 1330 Reply Likes
OK.  I kind of like the touch sensitive, because I could get sort of a "low - mid - high" speed shift depending upon where I grabbed the knob.  If I turned it by the top of the knob, it was at 50 Hz, but fairly fast, if I tuned by the rubber "nudge ring" then it was still 50 Hz, but with more precision at a slower rate.  If I turn the knob fast, using the top place, then it really tunes fast at 500 Hz steps.

But the beauty is... to each their own.  The programming is very flexible.  Once you learn the Processing language a little, it is easy to make changes and recompile a version that is exactly what you want.  After you look at the code for a while you start to get it.

I wish I had done this two years ago!  Thanks to William, I will be able to merge his ideas and my own and make the "perfect" controller.  ("Perfect" meaning that it is the way that I want it to be!  ha ha!)  

Ken - NM9P
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
It still has both
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
LOL Ken... I'm just glad that you & William are skilled at this.

After looking at some of the source, I think that I'm now too old to learn new tricks in such a way that I could "look at the code for a while" and "start to get it". It all seems upside down & backwards compared to what I did so many years ago.

Bob
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
touching the metal place disengages the slowdown routine.  spinning (value > 68) fast engages the stepx5.

In order to disengage the stepx5 it takes 100 consecutive ticks less than (value < 68).  This sound like a lot, but its a split second with these high resolution encoders.
Photo of Ken - NM9P

Ken - NM9P, Elmer

  • 4171 Posts
  • 1330 Reply Likes
Bob, it isn't as hard as it originally looks, once you start to get the syntax.
Commands end with a ";"
The curvy brackets { } enclose nested levels of commands.
Variables are defined and initialized at the beginning of the program.  (are they integer, floating point, string, or Boolean variables?)
Variables are manipulated with simple statements....vfo=25;  sets the VFO value to 25...

IF(VFO==25) {do this function....} ELSE {Do THIS function.....}  
  asks IF VFO is equal to 25.  if so, do one function.  If Not, do a different function.

(there is no THEN statement needed, as was used in older languages.  it is assumed, and the Right Hand bracket ends the first conditional statement.  The ELSE { begins the second conditional statement, or statements, which ends with another }   )

VFO++;    increments the VFO value by one
VFO--;       decrements it by one.

VFO=VFO+Step;  bumps the VFO value up by the amount in the variable STEP.

and on it goes...

Most of the software is to sense which command control or button is pressed, based upon the MIDI code the controller puts out. 

IF ((Channel==0) && (Pitch==20))


Then using IF/THEN statements to determine what API command to associate with the button or control pressed or turned.

Throw in a little Boolean logic for command toggles, control flip-flops, etc.
Or use count-up/count-down stepping to index things like band, mode, filters, etc.
Then there are statements to send the API commands out to the rig, and to toggle the lights on/off on the controller.

If you programmed "back in the day" you already know the logic.
All that is left is to learn a new syntax.

THere is a nice tutorial on the "Processing" website at
https://processing.org/
and the syntax and command reference at 
https://processing.org/reference/

Check it out.  It is nice.

Ken - NM9P
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
Hi Ken,

Thanks!  You are probably right and I will look again for the umpteenth time.

The problem is that my brain has been wired in reverse from the 1970s and the days of the Intel 4040 and later the 8048 & 8085 when I was doing this stuff for money.  I really didn't have the patience for software back then but I slogged through it as the projects were my responsibility.  Now I'm retired for nearly twenty years and I'm into doing fun stuff and software doesn't seem to qualify.  Therefore my attention span is very short.

Back in the day, bit manipulation took an eternity to write but, when broken down to 8-bits at a time maximum, it became simple for me.  I was really a much better hardware designer.

Somehow, what you describe doesn't flow through my brain's "masked ROM" but I will try once more with your kind encouragement to change it out for a EEPROM.

Bob
Photo of Ken - NM9P

Ken - NM9P, Elmer

  • 4171 Posts
  • 1330 Reply Likes
Though I am not a big-time programmer, (I haven't done anything major since the days of GW-Basic!)  The program seems to follow this general outline...

Import already-written processes (I used to call them subroutines);
define initialize variables;
open communications channel to the rig;
open communications channel to the MIDI Device;

Then the constant loop:
  check MIDI Device for input...(Midi Channel, Pitch, Value);
  use IF/Then/Else statements to see which button or control is activated;
  send the proper command to the RIG;
      (depending upon which button or control was activated);
  Increment indexing counters as needed for band/mode/filter/etc.
  set boolean toggles as needed for ON/OFF commands;
  send command to MIDI Device to turn lights ON/OFF;
  update frequency information  on computer (superimposed on the picture);
go back and wait for another control to be activated and repeat.

It is actually a relatively simple program, once you get it....
(Simple boolean logic, simple count up/down indexing, sample a channel, compare values, send a command, etc.)  It is simple, but with lots of commands, because there are a lot of functions.  (But getting the VFO counters and all that to work correctly was a challenge, I'm sure.)

William has done excellent work, that I wish I had had the courage to begin two years ago.  He has taken exactly the approach that I knew could be done, but didn't have the familiarity with either MIDI functions, or the Processing or C# languages to do....(i.e. import MIDI codes, look up a corresponding function, and send the command via the API to the Flex rig.)  

This same approach can be used to build other programs to control the rig using on-screen functions, mouse clicks, buttons, etc. using the API, or even using the serial CAT command set on the 6000 series or the CAT commands for the other Flex rigs, or even other brands of rigs.

WIlliam has unlocked some effective tools that may get several of us into programming things for the 6000 series.
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
I'm in the process of making a Android App to control additional feature.  So far I can discover the radio and control a few functions.  So I have made it over the hurdle.  Once you begin down the path, the options are limitless.

I spent half the day figuring out how to communicate over TCP with native java!  What a pain.  Processing made that simple,  But I figured it out.

Now I need to figure out how to receive in the radio variables.

Now to figure out what I want an android app to do  hmmm!

William
Photo of Bob - W7KWS -

Bob - W7KWS -

  • 321 Posts
  • 52 Reply Likes
YES! Another quality adventure. If there is anything I can do to help, I'm all in.

Bob
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Here is a new version to test.  Here are the changes from 2.0c;

1. Updated the delay count to make Stepx5 easier to maintain. Also lowered the speed required to engage Stepx5.
2. Added band switching.  Center encoder dial is now band switching when shift off, mode when shift on.  Also now it take 2 indent ticks to register a change, as I felt it was too touchy.

The graphic in the app window is becoming a hack job.  I will update it at some point when I'm done adding functions.

https://www.dropbox.com/s/am5fx5j8i8qevgo/CMDMicroFlex6k_v2_0d.zip?dl=0
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
oops forgot - Also added ANF and shit ANF = lock

And swapped RF and HP vol.  HP volume is primary RF power is shift.

Hope all you have plenty of brother labels  Hehe
(Edited)
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
I'll try this in a bit, William.  Thanks!

Here's a picture of my newly attached knobs.  Clear silicone works well for attaching them and, hopefully, removing them if I decide that I ever need to change. Fingers are crossed in that case.

Bob
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
That looks cool, but wont this affect the touch sensitivity of the wheels?  You may be stuck in slow mode.  You will still have all step sizes, but it will be slower.

William
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
The knobs are aluminum and seemed to work with 1.9.  That was so long ago (day before yesterday) that I'm going to have to recheck.

If touch sensitivity becomes a preference for me, I will wrap the perimeter of the knob with special "grip" shrink tubing made for fishing rods.  It is available in various sizes up to 45mm which might have worked for 40mm knobs but I found one source in China at 50mm.  It's on its way.  See it here:

http://www.ebay.com/itm/171643895391
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
William,

A quick test on 2.0d before I go to lunch and shopping.

I swapped the A & B knobs and that is working well.

I can't tell if the touch sensitivity is playing a part but the gear shift is working flawlessly after 1-minute of testing.  More later. Thanks!

Bob
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
bob,

The gear shift will work fine with your knobs, but you will be stuck in slowdown mode.  The sensor is capacitive so even if the knobs are metal the touch sensor will not function.  Slowdown mode is just a tad slower to make the knob less touchy.  Without it you will just be in slow mode.  All this means is that, you will not be able to go as fast across the band. 

All that matters is you are happy with the speed.  So if your happy with it, then that is all that maters.

William
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
William,

After lunch, I bagged out of shopping so I could get back to this.

I don't think that the aluminum knob by itself is enough to activate the touch sensor in the platters.

I've gone back and tried 1.9e.  With the step button activated to blue, I turn the knob A with a plastic pen cap and the frequency changes slowly.  Then, while still turning knob A at the same speed with the cap, I touch knob B with my finger and tuning speeds up.

It appears to me that it takes more capacity than the knob alone to trigger it.

This is what I had seen last week before choosing these knobs.

Bob
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Yep that is what I expected.  You could disable the slowdown, but the knobs may then be too touchy
Photo of Bob - W7KWS -

Bob - W7KWS -

  • 322 Posts
  • 52 Reply Likes
But if I put insulating wrap on the perimeter of the knob then it will act just like the platters without the knobs added.  Touch the surface or finger hole and go fast, touch the perimeter with the grip insulation and go slow unless I turn it fast.  Right?
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Its worth a try, if you say touching the b knob speeds it up, maybe it will work.  So if you turn your knob with your finger it is fast?  and with a pen its slow?  If that is the case, maybe it will work.

William
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
Yes, that's how it is working.  A couple layers of electrical tape around the knob allows me to turn it with my finger and it is slow.  As soon as I touch the top portion of the metal it runs fast. 

Like I said earlier, the software is now flawless in this regard.
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
In that case I need the link to those knobs
(Edited)
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
What is the diameter of the top of the knob?  Need to figure out what size grip.
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 979 Posts
  • 180 Reply Likes
William, I like 2.0d, works well here, especially band switching.
Now if you could just give me back tune without shift ;-)
73, Alex DH2ID
Photo of Bob - W7KWS -

Bob - W7KWS -

  • 322 Posts
  • 52 Reply Likes
William,

The skirt is 2 inches.  The top is 1.6 inches or 40mm. I ordered 50mm Rod Grip from China but 45mm from a couple of domestic eBay sources should work, at least for one or two layers.

The seller is an old Drake employee who deals in all kind of knobs, particularly Drake. 

Now that I think about it.  I had asked him for these sizes and he said at the time that they were plastic with a metal weight.  However all three of mine came in Aluminum with the weight insert.  The are very nice. 

I'm just concerned that he may stock both and selected mine to meet my requirement.  You might want to clarify this with him.

Sorry I didn't think of this a few minutes ago.

Bob
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 979 Posts
  • 180 Reply Likes
William, one small thing: RF Power is still unshifted, while HP VOL is shifted.
But you could leave it at that, I'ts good enough for me as I often change RF power.
73, Alex DH2ID
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
opps forgot about the ex tune version, I will get you a version soon.  I'm away from my main PC, but will upload you a version either tonight or first thing tomorrow. 
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 979 Posts
  • 180 Reply Likes
No problem here, William :-) But I would be most grateful if you could leave RF power unshifted, as it is at the moment, for "my" version....
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
sure,  i plan on adding that as an editable option at some point again.  The onscreen toggles were cool, but not that realistic long term.  So I plan on going back to the text file option to change things.  I will make a version for you, and the next release I will make it an option to edit the txt file so I don't have to keep making special versions.

Photo of Steve W6SDM

Steve W6SDM

  • 625 Posts
  • 283 Reply Likes
With the CMD Micro controller, I have a new tag line for Flex advertising:

Flex SDR: BYOB (Bring Your Own Buttons)
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
lol
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Alex,

Here is the version for you.  Tune and RF power are non shift, HP vol and ATU are shift.

https://www.dropbox.com/s/9ohygvsxomllnvf/CMDMicroFlex6k_v2_0d_Extune.zip?dl=0
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 980 Posts
  • 180 Reply Likes
William, that's great! Thanks a lot. Works absolutely fine.
73, Alex DH2ID
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
your welcome
Photo of G8ZPX

G8ZPX

  • 197 Posts
  • 110 Reply Likes

I am seeing consistent network packet loss with Williams CMD Micro app running.

I bring up the network diagnostics screen (click on the bar graph bottom right).

Without the CMD control app running I see no packet loss at all (big fat zero). With CMD app loaded there are some missed packets every few seconds until eventually the diagnostic reports poor network comms. 

 If I then unload the app the packet loss stops and the dropped packets % goes down again, and finally gets back to Excellent (green status).

This is very easy to observe, test and prove using the "dropped packets" line of the network diagnostics box.

Anybody else seeing this, any ideas how to fix it...William?

Steve G1XOW

Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 980 Posts
  • 180 Reply Likes
Good morning, Steve.

I have had no dropped packets here, ever. I run a giga ethernet network and my VAIO I7 notebook and my Flex-6500 are connected to my router through an ethernet switch. All my cables are CAT6 double shielded.

Since starting my station today network diagnostics show 172000 packets, none of them dropped. I have been using CMD Micro since William first posted
it here on the forum and I am using his latest version. Which version are
you using?

BTW I just worked VK7XX in Tasmania with 10 watts out to my ECO
balcony antenna!

I would also suggest to look at your antivirus/firewall software to see whether
the fault lies there. I also find the Microsoft Resource Monitor software
very useful. I am posting a screenshot here.It's in German, (sorry about
that but my OS is German, although I am reading and writing more that
80% in English), but I hope that you can see that the CPU runs at 7%
and the mean CPU load is very low for SmartSDR.



Monitoring latency is also a good idea. If all else fails clean up your pc or reinstall on another one to see if this helps.

73, Alex DH2ID
(Edited)
Photo of Steven G1XOW

Steven G1XOW

  • 296 Posts
  • 129 Reply Likes

Hi Alex,

Running version D

Thanks for the reply. I am a Microsoft Certified Systems Engineer, and a computer engineer of over 30 years experience. So, I have already checked/tested all the likely things like DPC latency, IP daemons, Antivirus, firewall etc. etc.

My dedicated gigabit ethernet PC-to-FLEX (Cat6e cable) cable and network is rock solid. SmartSDR can be running for a week or more (millions of packets) without a single dropped packet.

However, as soon as I start the CMD Micro app I see around 100-150 packets being lost every few seconds in the network diagnostic panel. I then stop the App and the problem instantly goes away again, the packets are then perfect without error forever.

I wont be doing reinstallation of Windows 7 as my network is perfectly stable in every way and this would be an overkill for what I hope is a simple problem.

73 de Steve G1XOW


Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 980 Posts
  • 180 Reply Likes
Hi Steve, well - I've been bringing owls to Athens then.... ;-)

As you see, no dropped packets here. My station has been
online for only 10 minutes. But if I leave it on for hours and
even days, millions of packets are shown without any being
dropped.





I think all here in the forum would be very interested if you
find fault, bug and solution!

73 from Karlsruhe, Germany
Alex DH2ID
(Edited)
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Steve,

I have seen this before, it appears to be related to hung connections in the radio.  Have you hard reset the FLEX recently?  If you haven't you should try that.

William
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 980 Posts
  • 180 Reply Likes
William, nice to see you here again! I hadn't thought about hung connections
IN the radio...

73 and keep up the good works,

Alex DH2ID
Photo of G8ZPX

G8ZPX

  • 197 Posts
  • 110 Reply Likes

William, thanks for the idea. I had not thought of it being a problem that persists beyond a power-up cycle. I wonder what you think might be going on that causes this problem to a) persist, and b) only shows with your app running?

Also, should it matter if flex control is enabled or not in the SSDR?

73 de Steve G1XOW


Photo of Steven G1XOW

Steven G1XOW

  • 296 Posts
  • 129 Reply Likes

problem found and resolved: I tried doing the hard reset as suggested by William - no help. I then tired removing DDUTIL, SMETER etc all no help. I then checked version numbers of SSDR CAT (flexVSP) module, this was not in agreement with the other SSDR 1.4.16 modules.

So, I removed the entire package and then reinstalled after a reboot - problem solved. So looks like I had somehow managed to get an old version of CAT left over from previous install of SSDR.

Alex and William thanks for your help!

73 de Steve G1XOW

Photo of Ken - NM9P

Ken - NM9P

  • 4239 Posts
  • 1351 Reply Likes
Thanks for the update.I'm sure you aren't the only one who has gotten their CAT's crossed!  Just call it "CAT scratch fever!"
Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 980 Posts
  • 180 Reply Likes
Steve, thank you for the info. Now I know why I deinstall all old versions... ;-)
Photo of Clive - G4KCM

Clive - G4KCM

  • 4 Posts
  • 0 Reply Likes
William, 

Fantastic piece of work. Just started using it on my 6500 and love it.

Thank you for all the hard work you are putting into this and your other projects.

73, Clive G4KCM
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Your welcome!
Photo of W5XZ - dan

W5XZ - dan

  • 571 Posts
  • 86 Reply Likes
wow dude!! awesome !! many many thanks!!

(mine just hit the deck...)
Photo of W5XZ - dan

W5XZ - dan

  • 571 Posts
  • 86 Reply Likes
the 'dual speed' vfo function knob is marvelous !

the tuning step choices are a little fine for me; how do I set it for 10hz, 100 hz, and 10k hz ( for am bcb swl'ing, eg  )?

73, and 'you da man'!!
Photo of Steve W6SDM

Steve W6SDM

  • 625 Posts
  • 283 Reply Likes
I use one of these, from Amazon, as a stand for my CMD Controller.  It lets me adjust the angle and place it behind the key board.  It's designed for an iPad and I use another one for my K6TU controller. 
http://www.amazon.com/Arkon-Folding-Tablet-Stand-Android/dp/B000CKVOOY/ref=sr_1_11?ie=UTF8&qid=1...
Photo of W5XZ - dan

W5XZ - dan

  • 571 Posts
  • 86 Reply Likes
i use a stick of wood, ha! staying under budget, ya know..
Photo of Steve W6SDM

Steve W6SDM

  • 625 Posts
  • 283 Reply Likes


Yeah, but mine gets more girls.  :)
Photo of W5XZ - dan

W5XZ - dan

  • 571 Posts
  • 86 Reply Likes
maybe, but < I > can buy her a drink or two...ha!
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Dan,

10kh  I have to ask WHY LOL
Photo of W5XZ - dan

W5XZ - dan

  • 571 Posts
  • 86 Reply Likes
that's the spacing between stations on the am bcb...i like to test my top band rx antennas down there, with some well known sources in specific directions...while i can easily 'see' them in pan / waterfall, at night some skywave prop will bring in some other sigs...
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
gotcha,  Its not exactly an easy change to add new steps, but it can be done.  You would have to sacrifice something.  The jog wheel is so touchy you would also have to add a new slow routine for steps that high.

If its something you really need, I can help you.

William
Photo of W5XZ - dan

W5XZ - dan

  • 571 Posts
  • 86 Reply Likes
there's prob more important stuff to do...i am SUCH a happy camper w this puppy !!
Photo of W5XZ - dan

W5XZ - dan

  • 571 Posts
  • 86 Reply Likes
william:

realize, i'm work cw 97% of the time, on 160m, chasing dxcc new ones. otherwise, cruising am bcb, checking rx antennas.  that said:

The smallest tuning step is just too fine to be useful, after playing with it a few days, IMHO. even with the sharpest cw filter, and APF on, 10 hz is plenty fine with the outer dial ring.  I'd like that to be the smallest step.

for cruising various round-tables on ssb, 100z works good, on the outer ring, with the opportunity to zoom around quickly with the inner dial..

biggest step, 10khz on the inner dial would be perfect for hopping from std channel to channel on USA am bcb, with the outer dial useful for am swl'ing, IMHO.

last, N4LQ showed leaving Main Vol maxed out all the time gives smoother QSK, so I rarely touch it.  any chance the "Main Level" could be switched to keyer speed?

with this, SmartSDR would be darned near mouse-less !!

thanks again for great work !!
Photo of W5XZ - dan

W5XZ - dan

  • 571 Posts
  • 86 Reply Likes
William, can you give me a hint where to look in the source code, please?  thanks, 73
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Dan,

There is a .pde file in the /src directory that you can open with the Processing PDE application.

Search the code for "Fstep".  There are 2 places you need to edit.  First you will need to edit the section titled //VFO Step Select and then //Set VFO Frequencies.  This is the top of my head, so they may be called something slightly different.

After opening the pde, save it off as a different name.  Then make sure you copy the /data folder from the original to the location of your new file.

Then you can run the application directly from the processing PDE by clicking the play button. 

Just play around trying different things.  When I have time I will write up a more detailed explanation.

William
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
As for the Keyer speed, which i assume you mean WPM , that is the easiest of all. Search for this line;

c.write("C44|mixer lineout gain "+round(value*0.787)+"\r\n");

And change it with

c.write("C44|cwx wpm "+round((value*0.276)+5)+"\r\n");

This gives you a WPM of 5-100.  However I think this is more realistic say 5-40?

c.write("C44|cwx wpm "+round((value*0.72)+5)+"\r\n");

I have not tested this, but it should work.  

William
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
One thing I failed to explain is, the midi dials have a value of 0-127.  So the math here is easy.  If we want a value of 0-100 (what the radio expects for volume) we have to multiply the midi value by .787.  so 127x.787=100.

So if we want a value of 5-100 (what flex expects for WPM) we need 95 increments.  So we take 95/127=.72....So to get a starting value of zero we get 0x.72+5 = 5 and an end value 127x.72+5=100

William
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
My earlier post was backwards.  Just to clarify:

5-40 WPM
c.write("C44|cwx wpm "+round((value*0.276)+5)+"\r\n");


5-100 WPM
c.write("C44|cwx wpm "+round((value*0.72)+5)+"\r\n");
Photo of W5XZ - dan

W5XZ - dan

  • 571 Posts
  • 86 Reply Likes
tnx dude..i'll get to it when i have time ( ??? )

your ARE da man, bro...
Photo of Dave Dave

Dave Dave

  • 135 Posts
  • 28 Reply Likes
Love the CMD Micro app..... every link I find to update isn't working?
Really want the 5X jog wheel....... THANKS!

Hard to find place to post that you will see..... hope it works.
Photo of Bob - W7KWS -

Bob - W7KWS -

  • 328 Posts
  • 54 Reply Likes
William,

Have you tried Pocket rxtx, free in the Google Play Store?  It's a work in progress but it works pretty well with my Kenwood TS-590 via the Internet. The tuning dial works quite well and it supports a number of rigs.  Dan, the authors, hasn't had time to work on it in some time so some features are incomplete plus a few minor bugs but no deal breakers.

Bob
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Bob,

My Android app will just be a few extra buttons and sliders.  I do not intend or have the skills yet to make a complete android client.  I just want an App that has a few commonly used functions at my fingertips.  It will be used as a supplement for additional controls to the CMD Micro. 

After using the Micro more, there are certain functions I don't like:

1. Band selection - I prefer selecting band vs cycling thru them
2. Mode selection - Same as above
3. Micro is missing adjustable filters
4. NR/NB/ANF levels missing

And a few other wish I hads!

So far I have a android app that does 1,3, and 4.  This app is a just for me thing.  I will happily share it to anyone who is interested when I'm done, But its really not intended to be universal.  Maybe one day, but for now its just a personal project.

William
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
Very good William.

I guess that skill is relative & you seem pretty good at getting quality results. Thanks again for the Micro. Your skill with that has made The Flex my "goto" rig where before it was just a fun experiment.

If you haven't tried Pocket rxtx on your Android device, I recommend it. I can't say that it will do what you mentioned but it's an app that is very useful for remoting a rig via the Internet or USB if you want.

Dan, YO3GGX hasn't included the Flex CAT commands but functions are configured in a text file. I modified one of his other Kenwood rig files for my TS-590 with relative ease. Doing the same for the Flex shouldn't be too hard.

His WEB site also features a free tcp to COM port interface for your PC or VSPE works as well.

The audio isn't implemented yet but I use a free SIP VOIP client or others are using Skype.

Bob
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
OT:  But here is the status of my Android App.  Ignore the funny letter sizing.  This happens in the emulator not on the actual device.

So far I have band switching, xit, rit, mode,  nr/nb/anf with level sliders, RX filter hi/lo.

I still have plenty or real estate left to add more.   This is sized for a 1280x800 screen, and I will not be making this scalable for other resolutions.

Photo of Alex - DH2ID

Alex - DH2ID, Elmer

  • 980 Posts
  • 180 Reply Likes
Looks like a great app with lots of possibilities. ..
73, Alex DH2ID
Photo of W5XZ - dan

W5XZ - dan

  • 571 Posts
  • 86 Reply Likes
wow, more fun stuff with my galaxy s-5 ??

what a great time to be alive, huh??
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
William,

On the CMD Micro, I've noticed that when I press the "Step" button it works as I'd expect and also changes the step dialog in SmartSDR to the corresponding value.  Then, if I change SmartSDR to 500 Hz, your software remains at 50/250 Hz. steps.

This is great as it gives me three choices without pushing any buttons; 500 Hz. steps (or wherever I've left the SmartSDR setting) using the mouse wheel and 50/250 Hz. on the Micro using the touch sensitive knob. 

I was wondering if there is a way to use the Micro's "Step" button selection without it also changing SmartSDR?  Getting rid of the blinking button in 50/250 Hz. would be a plus if it were easy.

Thanks,

Bob
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Bob,

I can easily remove the step sync with smart SDR, if thats what yall want.  The Micro step sizes are totally independent, so there is no real need to sync them.

The blinking is just to know what step size the micro is in,  Off for 1, on for 10, blink for 50.  This can easily be removed, if SmartSDR step sync is off, how would you know what step size the micro is at?

I know the blinking is a bit annoying, but it gives visual feedback.

William
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
William,

The last thing I want to do is ask you to do any more one-off specials so I can wait to see what others think about these things.  It certainly is not critical.

As far as the blinking light goes, If it has to blink, my preference would be to put it on the 1-Hz mode as I never use that.  I suspect others would prefer it the way it is.

Regarding the blink, is the hardware capable of turning on both colors?  Probably not or you might have done it that way.  The two color mix could indicate the distinction.

Another thought is to use one of the two PTT buttons since you can only transmit on the active slice anyway.

Bob
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
By the way William, and again, It's isn't important to me because I use a hand Mic & the PTT on it, but you might find the PTT on the Micro hard to hold down for an entire transmission.  A toggle is the alternate choice but isn't desired in some situations.

Here's the thought.  Another piece of software I use, has a dual mode PTT button and it really works well.  If you push the button quickly, it toggles and stays on until the next push (Toggle).  If you hold it for more than 1/4 of a second it becomes a hold to talk, release to listen.  NICE!

Again, I don't use the PTT and I don't need this, but I thought the idea was worth sharing with you.

Bob
(Edited)
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
I have no issues holding down PTT for long periods, But I guess that depends on what you call long.  I am not a ragchewer, most of my contacts are short DX.

I'm not sure enough use the PTT to justify the coding of the complex routine.  But if others would like this, I will look into it.

William
Photo of Michael - N5TGL

Michael - N5TGL

  • 307 Posts
  • 101 Reply Likes
The dual mode PTT is a pretty neat idea.  I use a footswitch for my PTT, but I do get into some reasonably long ragchews and a locking PTT would be handy.  I've got a commercial grade footswitch and it requires a fair bit of weight to keep it held down.  Works great for contesting and preventing false triggering but not so much for longer transmissions.
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Larry,

I got an email that you were having issues, but your question got deleted from the thread.  Are you still having issues?

William
Photo of Larry - W8LLL

Larry - W8LLL

  • 532 Posts
  • 116 Reply Likes

I deleted that message because I realized it was just my firewall blocking it, thanks.

Photo of Asher - K0AU

Asher - K0AU

  • 225 Posts
  • 36 Reply Likes
William - brilliant contributions with the Midi control surfaces.  I like the look of the Behringer.  Do you know if any Midi controllers have an input contact we could use for PTT?
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Not that I know of, butit would not be that hard to add an external 3.5mm jack wired to the midi PTT button for an external hand/foot switch.
Photo of Michael - N5TGL

Michael - N5TGL

  • 308 Posts
  • 103 Reply Likes
Why not use the PTT jack on the back of the radio?
Photo of Chris DL5NAM

Chris DL5NAM

  • 689 Posts
  • 154 Reply Likes
... how do you connect the PTT via Lan for remote? :-)
(Edited)
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
Try PstRotatorAz which has a remote PTT feature in addition to remote rotator and remote SteppIR control.
Photo of Asher - K0AU

Asher - K0AU

  • 225 Posts
  • 36 Reply Likes
Midi controller just worked out of the box - great job!  I downloaded Processing 2.2.1 but when I open the source/CMDMicroFlex6k_v2_0d file processing first wants to wrap it in another folder.  Then it can't find the libraries.  Is there some magic to get everything to open?
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
You need the copy the /data directory from the zip file to the new location.  And you must add the libraries.  If I recall you need these (all which can auto install from the add libraries menu item)

processing.net
UDP

Just look at the top of the file for the import statements.  And make sure you have all of those.


William
Photo of Asher - K0AU

Asher - K0AU

  • 225 Posts
  • 36 Reply Likes
Thanks!  Now running in the IDE. 
Photo of James Whiteway

James Whiteway

  • 1061 Posts
  • 303 Reply Likes
Strange, I just got my Midi controller today and hooked it up. Windows Vista (32bit) finds it just fine and the D version of the software comes up and the controls work, but, the program does not find the radio or interact with SmartSDR! I have even downloaded earlier versions and the same results. It just does not see the radio on my network.
   Just to be sure things were working between the radio, SSDR and 3rd party apps, I ran a test program that I have been working on and it finds the radio just fine and changes in it, show up both in my app and SSDR. Not sure why the midi program is not discovering the controller. (probably pilot error!)
james
WD5GWY
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
I can't be for sure without being there, but my guess would be a virus scanner or windows firewall.

Did you try the manual version? the one where you manually enter the ip address?

https://www.dropbox.com/s/gap6unikww23mk1/CMDMicroFlex6k_v1_9e-manual.zip?dl=0

This is old and not a fix, but let me know if it works.  If it does and you can't get the new verion working, I can compile you a manual version of the newest release.

William
Photo of James Whiteway

James Whiteway

  • 1061 Posts
  • 303 Reply Likes
Ok, same issue, except now, it says null@192.168.0.4 ( the ip address of my radio).
But, still no control of the radio. I checked Windows Firewall and it does not show it is blocking anything from the USB port.
james
WD5GWY

Thanks for the help.
Photo of Al K0VM

Al K0VM, Elmer

  • 615 Posts
  • 103 Reply Likes
James,
  When I had that problem, it turned out to be a windows firewall permission problem..  If it will run with the firewall turned off, then adding firewall permissions will likely solve the problem.

AL, K0VM
Photo of James Whiteway

James Whiteway

  • 1061 Posts
  • 303 Reply Likes
Fixed it!! Problem was with Windows Firewall. It was not allowing the Java Platform SE (three instances of it) to run. Thanks for putting up with the questions.
james
WD5GWY
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Good deal!!
Photo of James Whiteway

James Whiteway

  • 1061 Posts
  • 303 Reply Likes
By the way, thanks for all the hard work you put into this project! Works good.
The CMD Micro DJ Midi Controller is bigger than I thought it would be! Still, it fits on my operating desk just fine. You have to be one of the most prolific programmers I have encountered. Writing software for several controllers and working on an Android app too! I just take small stabs at it on the weekends when my wife's "honey do" list is not too overwhelming!
james
WD5GWY
 

Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Your welcome!  And I'm far from prolific, just learning myself.

William
Photo of Javier, KC2QII

Javier, KC2QII

  • 33 Posts
  • 5 Reply Likes
William,

Just to let you know, I have been running Remote Operation from San Diego, CA since 14 April suucessfully, running CMDMicro6k, SSDR, WSJT-X through OpenVPN, hotel WiFi.

See https://picasaweb.google.com/118380903168306628106/Flex6300RemoteOperation?authuser=0&feat=direc...


Javier, KC2QII
(Edited)
Photo of W5UN_Dave

W5UN_Dave

  • 316 Posts
  • 30 Reply Likes
Javier does the openVPN slow things down for you? I need a tutorial from you on how to setup and use openVPN with Flerx 6700.
Photo of Peter Driessen

Peter Driessen

  • 11 Posts
  • 0 Reply Likes
Great work.. Can you please post complete instructions on how to get it running:  prerequisities, download links, directories to put files in, installation instructions, etc.
Thanks!
Peter
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Peter,

As for prerequisites, I think the program will run on Windows XP and above.  If your running a 32 bit system, you will need to install java runtime.  No need if 64 bit.  But lets hope your not running that old of a system anyway :)

Here is the latest download.

https://www.dropbox.com/s/am5fx5j8i8qevgo/CMDMicroFlex6k_v2_0d.zip?dl=0

This is a portable app.  This means there is no installation.  Just unzip the file wherever you want.

To run the application just pick click the exe file in the appropriate directory ( 32bit or 64bit).

The CMD micro does not have an required drivers to install.  Just plug it it, and windows will automatically install what it needs.

Some people have had problems with their virus scan software disabling the midi driver.  And a few had windows firewall issues.

I would just give it a go, and then if you have a specific issue, ask here, and hopefully someone has already seen it.

Sorry but that is about all I have as far as instructions. 


William
Photo of Peter Driessen

Peter Driessen

  • 11 Posts
  • 0 Reply Likes
Thanks William.   Earlier in this thread I saw comments like
"You need the copy the /data directory from the zip file to the new location.  And you must add the libraries.  If I recall you need these (all which can auto install from the add libraries menu item)"
Which libraries?  The files in the lib folder or ?

Do I need to download Processing 2.2.1 IDE?

Thanks
Peter
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Peter,

That was information for people that wish to modify the program themselves.   If you have no intention of learning programming.  Then you don't need to do any of that,


So no you do not need anything but my program.

William
Photo of Peter Driessen

Peter Driessen

  • 6 Posts
  • 0 Reply Likes
Hi William,

I downloaded and am now running the 64 bit .exe file
After some time, the window comes up and shows it recognizes my FLEX 6700 at IP address 192.168.1.102.
However, nothing happens when I move knobs or click on the screen.
Am I missing something?
thanks
Peter
Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
Peter,

The midi driver is most likely not loaded for some reason, check device manager.  Others on here had the same issue, and it was related to virusscan/spyware software.

William
Photo of Peter Driessen

Peter Driessen

  • 11 Posts
  • 0 Reply Likes
Working fine now, thanks. I switched USB ports and the windows "installing drivers" came up.

Peter
Photo of Bob W7KWS

Bob W7KWS

  • 25 Posts
  • 4 Reply Likes
Will anyone interested in adding knobs & buttons to Flex 6000 radios be at Dayton this year?
Photo of Al / NN4ZZ

Al / NN4ZZ

  • 1855 Posts
  • 674 Reply Likes
Hi William,
Here is something new.....to build your own customized control.  Looks interesting.......

http://palettegear.com/

Regards, Al / NN4ZZ  
al (at) nn4zz (dot) com



Photo of William Hemmingsen

William Hemmingsen

  • 573 Posts
  • 278 Reply Likes
That has a big cool factor, but cost a fortune by the time you get enough controls.

William
Photo of Al / NN4ZZ

Al / NN4ZZ

  • 1855 Posts
  • 674 Reply Likes
The mid- range kit is $199 -- about what I paid for my 2 Flexcontrols.  Plus you get 2 sliders and its expandable.   Add more buttons etc if needed although I didn't see the prices for individual prices.    

Anyway seem like an interesting concept -- reconfigure modules at will. 

Regards, Al / NN4ZZ  
al (at) nn4zz (dot) com

This conversation is no longer open for comments or replies.