ZZPA Cat Command

Post Reply
w9mdb
Posts: 465
Joined: Sun Apr 09, 2017 5:53 pm

ZZPA Cat Command

Post by w9mdb »

Can anybody explain what the ZZPA actually does or if there is some visual indicator in Thetis that reflects it?
This is int Thetis 2.9.0.7 MW0LGE

ZZPA0; returns ZZPA8;
ZZPA1; returns ZZPA1;
ZZPA2; returns ZZPA7;
ZZPA3; returns ZZPA8;
ZZPA4; returns ZZPA9;
ZZPA5; returns ZZPA5;
ZZPA6; returns ZZPA6;
ZZPA7; returns ZZPA7;
ZZPA8; returns ZZPA6;
ZZPA9; returns ZZPA9;
Mike W9MDB
User avatar
w-u-2-o
Posts: 6024
Joined: Fri Mar 10, 2017 1:47 pm

Re: ZZPA Cat Command

Post by w-u-2-o »

Using the built-in CAT test facility of 2.9.0.6, I get back nothing from any version of this command except ZZPA; which returns ZZPA1;

I believe this command is a leftover from when the original version of PowerSDR was used with the legacy Flex radios (1000, 1500, 3000, 5000). I do not believe it has any effect on the operation of any openHPSDR compatible hardware built by Apache.

There are two receive amp's in the openHPSDR Apache architecture.

The ADC preamp is non-defeatable and non-adjustable. On all boards except the Orion MKII & MKIII it has 20dB gain. On the latter two board it has 14dB gain. No amount of software or firmware can change this. Just one look at any of the schematics from the Hermes on up will show this.

The 6M LNA can be enabled or disabled. It does not have adjustable gain.
User avatar
W2PA
Posts: 178
Joined: Sun Apr 09, 2017 6:34 pm
Location: LaGrangeville, NY
Contact:

Re: ZZPA Cat Command

Post by W2PA »

According to the code, ZZPA controls a "preamp settings knob" which doesn't seem to exist. The comment line says "Sets or reads the Preamp thumbwheel".

Legacy?
73,
Chris, W2PA
User avatar
w-u-2-o
Posts: 6024
Joined: Fri Mar 10, 2017 1:47 pm

Re: ZZPA Cat Command

Post by w-u-2-o »

Exactly, Chris. Legacy command left over from the origins of PowerSDR as used with the old Flex hardware.

There is some evidence that this command might return some information on attenuator (not step attenuator) settings, but the 7000 and 8000 don't have the 10 and 20dB attenuator hardware and it returns nothing with my 8000.

It might return some information for those with older hardware.
User avatar
ramdor
Posts: 1586
Joined: Wed Jul 03, 2019 3:07 pm
Contact:

Re: ZZPA Cat Command

Post by ramdor »

ZZPA;

sets the current regular ATT mode, not the S-ATT, but will return value for a S-att radio if using the dropdown box to set the ATT (return values 7-9)

Values (set) :
0 : off
1 : on
2 : -10dB
3 : -20dB
4 : -30dB
5 : -40dB
6: -50dB

Values (read) :
0 : off
1 : on
2 : -10dB
3 : -20dB
4 : -30dB
5 : -40dB
6: -50dB
7: -10dB (s-att capable radio)
8: -20dB (s-att capable radio)
9: -30dB (s-att capable radio)

NOTE: ZZPB for rx2, set values limited 0-4
pa_stat_cat.jpg
pa_stat_cat.jpg (59.67 KiB) Viewed 4253 times
w9mdb
Posts: 465
Joined: Sun Apr 09, 2017 5:53 pm

Re: ZZPA Cat Command

Post by w9mdb »

What dropdown box to set ATT? Can't seem to find such a beast.
I'm trying to figure this one out for modifying FLRig and Hamlib.
Mike W9MDB
User avatar
ramdor
Posts: 1586
Joined: Wed Jul 03, 2019 3:07 pm
Contact:

Re: ZZPA Cat Command

Post by ramdor »

double click on S-ATT label on the front end, or under settings->general->options, ANAN step attenuator, uncheck
w9mdb
Posts: 465
Joined: Sun Apr 09, 2017 5:53 pm

Re: ZZPA Cat Command

Post by w9mdb »

Is there a separate ZZ command for the step attenuator?
Or a command to switch the display?
Mike W9MDB
User avatar
ramdor
Posts: 1586
Joined: Wed Jul 03, 2019 3:07 pm
Contact:

Re: ZZPA Cat Command

Post by ramdor »

w9mdb wrote:Is there a separate ZZ command for the step attenuator?
Or a command to switch the display?
that i don't know without looking through the code. Probably not for the switch over, not sure.

zzrx zzry for step attenuation
User avatar
ramdor
Posts: 1586
Joined: Wed Jul 03, 2019 3:07 pm
Contact:

Re: ZZPA Cat Command

Post by ramdor »

also, there are issues when you use ZZPA and set to -50dB for a radio that is unable to do that. Nothing is validated it seems.
Post Reply

Return to “Thetis”