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

 

NAME

q330_opt_pkt_mon - converts /pf/st packet opt string data to binary values in /pf/vtw packets

SYNOPSIS

q330_opt_pkt_mon  [-v] [-V] [-d] [-0] [-w]
                  [-p pf] [-n npkts]
                  status_orb

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_opt_pkt_mon is designed to take /pf/st packets generated by q3302orb and converts the opt data from

        opt     acok isp1 ti

to

        acok    1
        api     0
        ins1    1
        ins2    0
        ti      1

and puts these /pf/vtw packets back into the orb. A second mode of running will be using the -w flag. This will create MGENC packets of data from each of the values. Each value in the opt string will create a new seed channel without loc codes. The multiplexed packets will be push to the same orb as the /pf/st packets. There is an internal buffer for the values that can be modified in the parameter file. The calib is set to 1 and the segtype to c "dimensionless integer". The new packets with waveforms will have a name of STA_CHAN_/MGENC/MSTV.

OPTIONS

ENVIRONMENT

Needs to have sourced $ANTELOPE/setup.csh.

PARAMETER FILE

EXAMPLE PARAMETER FILE


select_packets          .*/pf/st

buffer_time_window      600

reject_packets

RETURN VALUES

0 if successful, 1 if not.

BUGS AND CAVEATS

If a gap is detected of more than 1.5 times the samplerate then the buffer is dump for that channel and it will start buffering from that point forward. Example of the waveform packet that will be produced: #21 'TA_O20A_/MGENC/MSTV': 3/25/2014 (084) 20:55:17.964 : 484 bytes 0 : TA O20A ACOK 0.017/s calib= 1 calper= 1.000 segtype=c 4 samps Tue 2014-084 Mar 25 20:52:17.73499 - 20:56:17.73498 1 1 1 1 1 : TA O20A API 0.017/s calib= 1 calper= 1.000 segtype=c 4 samps Tue 2014-084 Mar 25 20:52:17.73499 - 20:56:17.73498 0 0 0 0 2 : TA O20A INS1 0.017/s calib= 1 calper= 1.000 segtype=c 4 samps Tue 2014-084 Mar 25 20:52:17.73499 - 20:56:17.73498 0 0 0 0 3 : TA O20A INS2 0.017/s calib= 1 calper= 1.000 segtype=c 4 samps Tue 2014-084 Mar 25 20:52:17.73499 - 20:56:17.73498 0 0 0 0 4 : TA O20A TI 0.017/s calib= 1 calper= 1.000 segtype=c 4 samps Tue 2014-084 Mar 25 20:52:17.73499 - 20:56:17.73498 1 1 1 1

UPDATE (-w option added)

Juan Reyes <reyes@ucsd.edu>

AUTHOR

Frank Vernon
Antelope User Group Contributed Software
Printer icon