ifpic - AuScope IF PIC Control command

Syntax:    ifpic=switch,diode,SLatt,SRatt,XLatt,XRatt,p5db

Response:  ifpic/0,switch,,SLatt,SRatt,XLatt,XRatt,
           ifpic/1,volts3p3,volts5,volts12,spare
           ifpic/2,boxTempC,boxRH,MaserTempC,MaserRH,MaserBatt,GenBatt


Settable parameters:
switch     IF monitor switch selecition, one of "SL", "SR", "XL", or "XR"
           (for SLCP, SRCP, XLCP, or XRCP respectively). Default is no
           change.
diode      Noise diode control, one of "on" or "off". Default is no change
           Not available in monitor response..
SLatt      SLCP attenuation, value are 0 to 15.5 dB in 0.5 dB steps. Default
           is no change.
SRatt      SRCP attenuation, value are 0 to 15.5 dB in 0.5 dB steps. Default
           is no change.
XLatt      XLCP attenuation, value are 0 to 15.5 dB in 0.5 dB steps. Default
           is no change.
XRatt      XRCP attenuation, value are 0 to 15.5 dB in 0.5 dB steps. Default
           is no change.
p5dB       0.5 dB attenuator state toggle, only allowed value is "toggle".
           Default is no change. Not available in monitor response.

Monitor-only parameters:
volts3p3   3.3 volt power supply voltage, volts..
volts5     5 volt power supply voltage, volts
volts12    12 volt power supply voltage, volts.
spare      TBD.

boxTempC   Box temperaure, degrees C.
boxRH      Box relative humidity, percent.
MaserTempC Box temperaure, degrees C
MaserRH    Box relative humidity, percent
MaserBatt  Maser battery indicator, volts.
GenBatt    Generator battery, volts.

Comments:
The command provides monitor and control of the IF PIC.

Command parameters are in four separate sets: (1) switch, (2) diode,
(3) SLatt, SRatt, XLatt, XRatt, and (4) 0p5dB.  Each set can be
commanded without affecting the others, or in combination with others,
by leaving parameters that are not to be updated null
(empty). Trailing null parameters may be omitted,

The 0.5 dB toggle inverts the state of the 0.5 dB attenuator for each
channel, i.e., it may increase or decrease the atenuation by 0.5 dB
depending on whether the initial state was an integer dB or integer
plus 0.5 dB, respectively. Commanding the attenuators again overrides
this setting.

If any attenuator (SSLatt, SRatt, XLatt, or XRatt) hasa value
commanded, they must all be commanded.