NRAO Home  >  Green Bank  |  Wiki Topic:    GB > Software > PlanOfRecordC52006 > ModificationRequest3C506
   Changes | Index | Contents | Search | Statistics | Go

Add Zpectrometer Control Interface to LO1Manager

Modification Request #3 (C5 2006)



1. Introduction

For Zpectrometer calibration routines, the university-supplied software requires direct control of the GBT LO1 test tone signal.

2. Background

Normally the GBT LO1 synthesizers are controlled by setting manager parameters, and then running a scan. However, the concept of operation of the Zpectrometer calibration software requires interactive and arbitrary (i.e. not specified beforehand) control of the test-tone synthesizer during a calibration scan.

The interface chosen to provide this interface is the Open Network Computing Remote Procedure Call (ONC-RPC). The remote procedure call (RPC) is common and simple to use mechanism which provides the correct "wait until complete" semantics.

3. Requirements

4. Design

The concept of how the interface will work is the following:

A custom RPC interface has been added to the LO1 synthesizer manager, which will immediately change both power level and frequency of the associated synthesizer. An rpcgen interface file (below) is provided to easily generate interface code.

5. rpcgen .x file:

/**********************************************************************
 * @doc
 * @module Interface Specification for Zpectrometer control of the LO1
 *
**********************************************************************/

struct SetFrequencyPowerState
{
    double freqHz;   /* Synthesizer frequency in whole Hz. Note that the
                        synthesizer has a range of 10-20 GHz, and that
                        the output feeds a doubler, before injection to
                        the receiver. In other words, this value should
                        be half of the desired test-tone frequency.
                     */
    double powerDbm; /* Power in dbm. Range is -110 to +20. */
    int powerState;  /* RF Power OFF==0, RF Power ON==1  */
};

/********************************************************************
 * Procedure return values have the semantic:
 *    A zero value indicates sucess, nonzero values indicate an error.
 *******************************************************************/


/********************************************************************
 *  Service Procedures
 *******************************************************************/

program SetPowerFreqProg

{
  version SetPowerFreqVers
  {
    /* Call INITSETFRQPWR() once, prior to Zpectrometer use. */
    int INITSETFRQPWR(SetFrequencyPowerState)  = 1;
    /* The set routine */
    int SETFREQPOWER(SetFrequencyPowerState)  = 2;
  } = 1;
} = 53039343;

6. Deployment Checklist

What has to get done to integrate this completely into the system. This checklist must be completed before Cycle Integration Testing begins.

7. Test Plan

7.1 Internal Testing

The following tests may require the assistance of the Electronics Division.

7.2 Sponsor Testing

7.3 Integration/Regression Tests

7.4 Testing Details using the Test Client

This test covers some details of testing the new Zpectrometer LO1 interface. The instructions here are for L-band, but Ka-band should be used if available. Remember the LO1B test tone goes through a doubler, so desired tone frequency must be divide by two.)


Signatures

APPROVED: I acknowledge that my request is fully contained in this MR, and if the SDD delivers exactly what I specified, I will be happy.

ACCEPTED: I acknowledge that I have validated the completed code according to the acceptance tests, and I am happy with the results.

Written DONE - JoeBrandt - 02 Aug 2006
Checked DONE - RamonCreager - 14 Aug 2006
Approved by Sponsor DONE - AmyShelton - 24 Aug 2006
Approved by CCC DONE - AmyShelton - 13 Sept 2006
Accepted/Delivered by Sponsor DONE - AmyShelton - 22 Sept 2006

Symbols:


CCC Discussion Area

-- JoeBrandt - 02 Aug 2006

Topic ModificationRequest3C506 . { Edit | Attach | Ref-By | Printable | Diffs | r1.11 | > | r1.10 | > | r1.9 | More }
Revision r1.11 - 22 Sep 2006 - 13:57 GMT - AmyShelton
Parents: PlanOfRecordC52006
Content copyright © 1999-2007 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.