• Antelope Release 5.5 Linux 2.6.32-220.el6.x86_64 2015-04-21

 

NAME

q330_calibration - runs q330 calibations on network

SYNOPSIS

q330_calibration [-v] [-V] [-n] [-2] [-3]
                  [-i] [-N [-d no_calib_days]]
                  [-o duration_offset_fraction] [-t start_time]
                  [-p pf] [-m mail_to_operator]
                  cmdorb db sta_regex [sta_regex1 [sta_regex2 [...]]]

SUPPORT


Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.

FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.

DESCRIPTION

q330_calibration runs calibrations on sensors connected to Q330 dataloggers. q330_calibration first checks to see if the cmdorb is accessible and verifies that the dlcalwf, dlsensor, and staq330 tables exist in db. One or more sta_regex (station regular expressions) are required to run q330_calibration unless the -i or the -N option is specified. q330_calibration sends calibrations to q330s by using dlcmd. The specific parameters for the calibration are found in q330_calibration.pf. Only one type of calibration is allowed for each sensor listed in the q330_calibration.pf. In the q330_calibration default operation, a calibration sweep of all stations defined by command line argument station regular expressions is conducted first using channel 3 as the monitor channel, followed by a sweep using channel 2 as the monitor channel. This guarantees that all channels are calibrated while simultaneously recording the original calibration signal. Each station calibration is offset by 0.5 of the duration of the calibration to minimize the number of stations in calibration mode at one time. q330_calibration runs are reported in the db.dlcalwf table.

OPTIONS

ENVIRONMENT

needs to have sourced $ANTELOPE/setup.csh.

PARAMETER FILE

q330_calibration parameter file element is:

DEFAULT PARAMETER FILE

sensors &Arr{
    sts2_g3 &Arr{
        duration       7200    # duration <= 16380; q330 limitation
        settling_time  900
        trailer_time   900
        waveform       white
        amplitude      1        # V = 2.5 amplitude in volts is equal to 5 V / 2 ** amplitude
    }
    cmg3t &Arr{
        duration       7200    # duration <= 16380; q330 limitation
        settling_time  900
        trailer_time   900
        waveform       white
        amplitude      1        # V = 2.5 - amplitude in volts is equal to 5 V / 2 ** amplitude
    }
    trillium_240 &Arr{
        duration       7200    # duration <= 16380; q330 limitation
        settling_time  900
        trailer_time   900
        waveform       white
        amplitude      4        # V = 0.3125 - amplitude in volts is equal to 5 V / 2 ** amplitude
    }
}

RETURN VALUES

0 if successful, 1 if not.

SEE ALSO

q330_baler(1)
dlcmd(1)
q3302orb(1)
dbcalibrate(1)
displayscal(1)

BUGS AND CAVEATS

This program is fundamentally dependent on the staq330 table which is written to by the program q330_baler. If you find strange behaviour in the operation of q330_calibration, be sure to check that the staq330 table is correct and up to date. You may need to rerun q330_baler to get things to work as expected.

AUTHOR

Frank Vernon
Antelope User Group Contributed Software
Printer icon