puppi datataking software

mar12

scramPuppi


Intro:

 

scramPuppi

    Program to run on guppimaster reading "scramNet" multicast packets and then loading the information  into guppi shared memory.

Usage: scramPuppi {-d} {-t}

Examples:

Program flow:


Variables set by scramPuppi:

    The table below lists the guppi status variable that are modified by scramPuppi. All of the updates are done in the routine updateShm(). If you want to
disable a particular keyword, value, just comment out the hputX line in updateShm.

keyword
Source
Notes
TELESCOP
hard coded
  • :"ARECIBO 305m"
  • This is what we have been using. It is not the same as puppi currently uses.

OBSERVER
execShm
  • What user types in when cima started.
SRC_NAME
execShm
  • From point command in cima
FRONTEND
execShm
  • uses ao abbreviations:
    • ch 327   430   800   lbw   sbw   sbn  sbh   cb   cbh xb  sbtx  alfa 
    • These are different from what puppi is currently using.
BACKEND
hard coded
  • PUPPI
PROJID
execShm
  • what user enters when starting cima.
FD_POLN
computed
  • figures out LIN or CIRC depending on  receiver an iflo hybrid switches.
OBSFREQ
computed
execShm
  • Computed from sky rf center frequency, iflo, and puppi center freq.
    • for 1-2 ghz if's  puppi center freq is 1200 MHz (lbw and  above)
    • for 750 MHz IF puppi center freq is 750 MHz.(327,430)
OBSBW
computed
hard coded
  • for 1-2  Ghz IF 800 MHz bandwidth is hard coded
  • for 750 MHz IF 100 MHz bandwidth is hard coded
  • The sign of OBSBW reflects the sign of the baseband sampled bands (it includes flips by puppi digital down conversion).
CAL_FREQ
iflo
  • Looks to  see if the 25Hz cal  bit is enabled in the iflo.
    • true -> 25Hz,false--> 0.
CAL_DCYC
iflo
  • if CAL_FREQ is 25 then == .5, else == 0
  • For a constant calOn, this is probably wrong.
SCANLEN
wapp
  • Number of seconds requested for scan.
  • this goes from 0 to > 0 when the scan begins
  • It will go back to 0 when the scan finishes.
  • This only  changes if you tell the wapps to start taking data.
NRCVR
hard coded
  • All receivers are dual pol
ANT_X
ANT_Y
ANT_Z
hard coded
  • Ao location:
POS_ANG
alfaShm
  • Alfa rotation angle. 0 for any other receiver.
  • Probably not needed since we currently can't push the alfa 250 IF into puppi.
AZ
pnt
  • updated every second from the azimuth encoders.
  • the telescope .pointing model has been removed.
  • this is the tel_az of psrfits. For the gregorian dome it is 180 degrees from the source azimuth.
ZA
pnt
  • updated every second from the za encoders.
  • the telescope .pointing model has been removed.
RA
pnt
  • Requested right ascension (deg).Includes any requested offsets.
  • Updated once a second.
DEC
pnt
  • Requested declination (deg). Includes any requested offsets.
  • Updated once a second.
RA_STR
pnt
  • RA converted to hh:mm:ss.s
DEC_STR
pnt
  • DEC converted to dd:mm:ss.s


Possible problems:

File locations:


home_~phil