Differences between revisions 1 and 2
Revision 1 as of 2008-02-13 08:35:04
Size: 23
Editor: dcesarsky
Comment:
Revision 2 as of 2008-02-13 09:56:19
Size: 1559
Editor: dcesarsky
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

This is the generic description of the 6 PHOT_bias_group_N (N=1,2...6) scripts

{{{
// Purpose : Send the appropriate TC to set a determined bias voltage
// for a group 1 matrix. The bias voltage is expressed in
// volts
// Author : Diego A. Cesarsky
// Arguments :
// string biasName The bias name in accordance with the MIB convention
// float bias The corresponding bias voltage [volts]
//
// Description : Extremely unsatisfactory code to find the bias name and
// issue the corresponding TC. If bias name is not found,
// the procedure sets an error condition
//
// Comments : The code is awful since it has to use dedicated TCs for
// each bias of each group, namely 20 different TCs. There
// are similar CUS procedures for each of the other 5 groups.
// There are two "sanity checks":
// 1- group number has to agree with procedure name
// 2- bias number has to agree with bias name
//
// Version : 0.1 07-aug-2006 Creation by DAC
// History :
// :
}}}
Input variables:
{{{
procedure PHOT_bias_group_1 {
    int grpNb = 1 in [1,1]; // The group number (sort of sanity check)
    int biasNb = 1; // The bias number (sort of sanity check)
    string biasName = "VH"; // The corresponding bias name as per MIB
    double bias = 1.62312; // The bias voltage to be set for biasName
}{
)))

PHOT_bias_group_N

This is the generic description of the 6 PHOT_bias_group_N (N=1,2...6) scripts

// Purpose       : Send the appropriate TC to set a determined bias voltage
//                 for a group 1 matrix. The bias voltage is expressed in
//                 volts
// Author        : Diego A. Cesarsky
// Arguments     :
// string  biasName    The bias name in accordance with the MIB convention
// float   bias        The corresponding bias voltage [volts]
//
// Description   : Extremely unsatisfactory code to find the bias name and
//                 issue the corresponding TC. If bias name is not found,
//                 the procedure sets an error condition
//
// Comments      : The code is awful since it has to use dedicated TCs for
//                 each bias of each group, namely 20 different TCs. There
//                 are similar CUS procedures for each of the other 5 groups.
//                 There are two "sanity checks":
//                 1- group number has to agree with procedure name
//                 2- bias number has to agree with bias name
//
// Version       : 0.1 07-aug-2006 Creation by DAC
// History       :
//               :

Input variables:

Herschel: PACS/CUSPVscripts/PHOT_bias_group_1 (last edited 2009-07-15 14:32:36 by localhost)