Showing posts with label frequency entry. Show all posts
Showing posts with label frequency entry. Show all posts

Friday, March 4, 2011

CAT primer Skimmer dope

Last time we looked at the various ways freq data is entered into the radio from things like a mouse or keyboard. Today we will look at how other programs enter data into PSDR. Enter the CAT command! CAT commands are bits of data that come in over a serial port and tell the radio what to do. As well the radio can tell other programs what to do by answering queries. Other programs can also just query the radio to see what it's state is. The CAT command set for Flex has grown rapidly over the past years. Initially Flex used the Kenwood set of commands but Flex soon outgrew that set and has evolved from the oriional 16 commands to nearly 150 commands

The most recent command list is here

Note: all the following is done using version 2.0.19RC1 of PSDR. Newer or older versions may or may not work as described due to changes in CAT data but the format will be the same

You can execute CAT commands in PSDR by using the test feature. Open Setup and go to the CAT TAB. You will see a button called TEST, press that, and this screen will pop up


Here is a pic of the CAT entry for the command ZZAC; (note the ; its important)

ZZAC; is the command changes the frequency step of the VFO's If you put ZZAC; in the above test form and hit execute,


PSDR returns ZZAC00; If you look at the above table you see 00 corresponds to a 1hz freq step

If you look at the above table 00 corresponds to a 1hz freq step as displayed on my VFO


If I enter ZZAC03; and execute


I get


I chose this as a test because it has many arguments to play with to get a feel for the test form and how CAT works. Now you may say whoop de doo, I can change the freq step!! But there are nearly 150 things you can change using CAT commands in PSDR. It is a means to set up your radio for example. To set up diversity I have 3 macros in DDUTIL 2 that turn diversity on, and one that turns diversity off. These commands also configure my antennas to the normal pair I use for diversity reception


The macros are enumerated here


M4 Diversity1 ZZRS1;ZZSP0;ZZSY1;DDDV1;ZZOA2;ZZOB1;ZZOC2;ZZDF1;ZZDE1;

M5 Diversity2 ZZRS1;ZZDF1;ZZDE1;ZZSP1;ZZSY1;DDDV1;ZZOA2;ZZOB1;ZZOC2;DDVA;

M6 DiversityOff ZZDE0;ZZDF0;DDDV0;ZZSP0;ZZSY0;ZZRS0;

and these macros corrospond to these keyboard F keys


I include the above so you can merely cut and past the commands into DDUTIL and make your radio turn diversity off and on if you have the second receiver installed.

Here is what these lines of code do to the radio

Diversity Off


This is the standard no diversity radio In this example I have various antennas chosen and RX 2 is in LSB with a filter of 2.4khz chosen

Diversity1 does this to my radio


Notice how the antennas are now 2,1,2 This is my preferred diversity antenna set up and notice how RX 2 is now in CWL and the 12hz filter is chosen This is my preferred setup all using CAT commands all with one click. Flex does not have a command that sets RX1'as mode to RX2 or sets RX1 and RX2's filters to be equal so DDUTIL has its own CAT command set Using this command set you can include commands in your Macro that do things PSDR can not do. The command for setting these 2 parameters = to each other is DDDV1; and to turn that off is DDDV0;

Diversity2 takes things one step further and is what I turn on when I want to work diversity split



In this case SPLIT is engaged and the freq data in VFO A is placed in VFO TX. Normally WHen VFO TX is energized it comes up at a default 7.00000 MHZ and is a PITA to set. My antennas are automatically set as well as my amp, BUT the band they are set to is controlled by the VFO that I am transmitting on so even though I may be listening to 80M if my TX is set to 40M my 40M antennas are energized. This is another DDUTIL CAT function called DDVA. It takes the data from VFO A and shoves it into VFO TX and saves me all the hassle of setting up VFO TX I LOVE THIS FUNCTION!!

So why all the long winded bla bla bla about CAT and macros? Well it is through CAT in the same fashion that programs talk to PSDR through DDUTIL

Here is a dump from a port monitoring program that is monitoring output from Skimmer


In this dump you will see out to the side length 3 FA; and a little later Length 14 FA0003500000;

FA; is one of the original Kenwood CAT commands and it is being I/O on Radio 1 of Skimmer

A little later you see FB; and a response of FB 0000350100; This is an example of my radio talking to skimmer and here is the display on my radio.



As you can see VFO A = 00003500000 and VFO B = 00003501000

I noticed Skimmer has 2 Radio ports in its set up menu.

I reasoned if I could address 2 ports I could make the output from each do different things. What I wanted was a way to make Skimmer control the TRANSMIT freq instead of the RX freq.

the virtual com port system allows you to set up virtual serial port connections between 2 programs. On Radio 1, Skimmer connects to DDUTIL over the pair 9-19


On radio 2 Skimmer connects Radio 2 to DDUTIL using the pair 6-16

Here are the DDUTIL connections


But wait the 6-16 Radio 2 pair is connected to a port called CWS (CWskimmer)

The reason for this is port CWS does some magic. If I am using radio 1 and I click the skimmer waterfall it sets the VFO A freq


Note how VFO A changes from 3500 to 3503.980


This is normal behavior for Skimmer BUT by changing to the Radio 2 6-16 pair I can control my transmit VFO


In this case when I click Skimmer my transmit VFO (VFO B) changes freq. from 3501 to 3504


Imagine you are in a pile up and want to change the transmitter freq all over the pileup as you see different stations working the DX. You merely click the waterfall and there you are transmitting on the freq of your desire, and there is NO CHANGE in the RX freq.

But what about diversity? Diversity has that pesky VFO TX. Well through more magic you can make skimmer control VFO TX in a pileup and VFO A and VFO B stay linked and do not change freq


A VFO TX freq of 3500 becomes 3505 when I click 3505 on Skimmer's waterfall


This is done through the magic of CAT commands and some data manipulation in DDUTIL which is why there is a special port for CWS!

If I want to change the RX freq using Skimmer as the freq controller all I have to do is turn off split and then click around on the skimmer waterfall and the RX freq changes. Then if I turn split back on the TX freq changes again. I can also change everything using the mouse in PSDR or by direct entry.

Also the ability to enter data into the RX VFO from Spot Collector (my DX cluster program) is intact when this transmit clicking oin skimmer is active


Note the change in RX freq when I click SpotCollector


To set the TX VFO I merely click skimmer


So basically the whole operation is becoming one button and point and shoot!!! The more I customize the behavior of my radio the more I love to operate it.

I did a lot of the concept design for this aspect of the radio and of course my buddy K5FR did the coding. I would also like to thank Bob K5KDN the keeper of the CAT commands at Flex, and I would like to thank the people at Flex. Because Flex is open to ideas from operators they have been very responsive to Steve and me when we get a wild haired idea. I think they trust something cool will come out of the experience. Bob has also been crucial to exposing the CAT commands at our request We could have not done the SO2R project and this project without him. The commands we needed to get the job done did not exist even one month ago.

I hope I laid this out clearly enough so you can copy how to make your radio behave like mine if you are interested, and with enough inside baseball that you get some idea of what is happening when you click this or click that. I don't know of any other radio that gives you such exquisite control of functionality and I don't know of another radio company that is so interested in making the radio work better.

Sorry for the length of the post

73

Wednesday, March 2, 2011

Missing the Bullet and Frequency Entry



This is what it looked like out my bedroom window Monday night

Well ARS W9OY is still standing. As of 2 days ago I was not sure if it was going to stand or be burnt to the ground. My property was in the area of the recent "Iron Horse" fire in central FL. The fire burned to within about a mile of my property. The fire all told burned about 16K acres and at present is only 25% under control, fortunately I live in that 25%. I pre-evacuated all my records and important stuff and had the family down to a 5 minute evacuation but fortunately I didn't have to pull the trigger. I've been in a couple of these types of fire and basically the fire can be viewed as a huge mass of thermal energy that moves with the speed of the wind, and no pip squeak with a garden hose is going to do anything to combat the thermal mass. The thermal mass is essentially a chunky gas, and as such its temperature is unlimited on the upside. Point being when the call comes LEAVE.

I'm going to start a series on frequency entry for Flex radios. You may say "well that's pretty obvious just point and shoot" and for sure that is one method to get frequency data into the radio, but the radio is far more powerful than that.

Today there are a host of programs that interface with the Flex. At my station I always have DX lab suite and CW Skimmer loaded. I am a 99% CW op so I virtually never use point and shoot to enter freq data. I enter freq data from Skimmer. The reason being Skimmer centers my CW signals exactly to coincide with my side tone, and I use very narrow 12hz filters ALL THE TIME. Occasionally I will use a digital program like Ham Radio Deluxe or WinWarbler as the thing that controls my radio's frequency. If I am contesting I typically use the band map in N1MM to control my search and pounce operations. Part of what has been missing is the ability to control other functions of PSDR beside the frequency while PSDR is out of focus and another program window is in focus. To address that issue there has been under development for about 2 years a piece of hardware that lets you address up to 15 commands in PSDR and communicates with PSDR via DDUTIL.

This piece of hardware has a multi-function Knob which has its own switch, and 3 other switches. The switches can address up to 9 functions and the knob can address up to 6 functions. It is in my mind a tremendous advancement in the ergonomics of the radio, and it is the fulfillment of the promise that the radio is amenable to other people developing useful products to improve the radio's performance. I will get into the Knob and its development in a future blog post, as it is quite extensive in its capabilities. The reason I include it under frequency entry is it most definitely is a welcome hardware addition to the available modes of frequency entry.

Also working with Steve we have refined the usability of CW Skimmer in a pile up. Skimmer has the ability to I/O on two different serial ports called Radio 1 and Radio 2. What we did was develop a way so that VFO A data comes I/O on the Radio 1 port and VBO B or VFO TX data comes I/O on the Radio 2 port. What this means is you can use Skimmer to control your transmit VFO when you are in a pileup simply by clicking around on the Skimmer waterfall. I have found this to be an EXTREMELY effective way to work DX, and I will go through a tutorial on how to set this up as well.

First an overview of the native way to get frequency data into PSDR:

Here is a shot of the PSDR console I use every day


There normal methods to change freq are to "grab" the panadapter:



To get the little hand make sure the cursors are off, and left click the mouse. Moving the mouse left and right moves the freq down and up.

Next is the vaunted Point and Shoot method


to get here you first right click the panadapter to bring up the yellow cross hairs, and then move the cross hairs to the freq you desire to occupy and left click the mouse. BAM you are on Freq


Note the change in VFO A's freq

To change the transmit freq in cursor mode you right click again and red cursors pop up




Left click and VFO B (typically your transmit VFO when you are split) and shades of Emeril (BAM that is) VFO B is on a new freq. This is very useful for moving around in pileups especially if you don't use other software to control freq.

Another method is to use the mouse wheel like a tuning knob. When used in conjunction with the Freq Steps in the VFO area of the console


If you click the - or + it changes the freq step from 1hz to 10mhz in 14 step size variations

In addition you can highlight one or the other of the VFO's and either use the mouse to raise and lower and digit or you can keyboard entry the freq directly.


In Diversity mode the display looks like this



Notice a new display is under VFO A. I call this VFO TX . In this mode there are three independent processes that are active Receiver 1 is in the VFO A slot, Receiver B is in the VFO B slot, and TX is in VFO TX slot. In the case of the diversity mode VFO A and VFO B are slaved. The yellow cursor changes both receive VFO's and



note 14.013 goes to 14.009


The red cursor changes VFO TX


If VFO A and B are not synced then the yellow cursor in the correct panadapter field will independently change VFO A or B


In the next installment I will look at CAT commands and Frequency control. CAT commands are the heart of remotely controlling PSDR. Over the course of the last decade the CAT command set has grown from a very basic Kenwood set to a highly specialized set of extremely powerful commands.

I'm going to label these posts "frequency entry" for easy cataloging of this series

73