HOPS
HOPS class reference
Functions
mk4_vex.h File Reference
#include <stdio.h>
#include "vex.h"

Go to the source code of this file.

Functions

int bitstream (char *)
 
int block_params (void)
 
int check_intrange (int, char *)
 
int check_realrange (double, char *)
 
int check_stloc (void)
 
int check_strrange (char *, char *)
 
struct Cvex_Configcvex_info (char *)
 
int decode_pval (struct param_val *, struct pval_format *)
 
int do_antenna (struct def_list *, struct station_struct *)
 
int do_bbc (struct def_list *, int, struct station_struct *)
 
int do_clock (struct def_list *, struct date *, struct station_struct *)
 
int do_das (struct def_list *, struct station_struct *)
 
int do_eop (struct def *, struct scan_struct *)
 
int do_exper (struct def *, struct scan_struct *)
 
int do_freq (struct def_list *, struct station_struct *, int *)
 
int do_head_pos (struct def_list *, struct station_struct *)
 
int do_if (struct def_list *, int, struct station_struct *)
 
int do_pass_order (struct def_list *, struct station_struct *)
 
int do_phase_cal_detect (struct def_list *, int, struct station_struct *)
 
int do_roll (struct def_list *, struct station_struct *)
 
int do_site (struct def_list *, struct station_struct *)
 
int do_source (struct def *, struct source_struct *)
 
int do_track (struct def_list *, int, struct station_struct *)
 
struct evex_structevex_info (char *)
 
int fill_deflists (void)
 
int fill_scanlist (void)
 
int fill_station_parms (struct def_list *, int, struct date *, struct station_struct *)
 
int find_statements (void)
 
struct Cvex_BlockModeget_block_mode (char *)
 
struct Cvex_ChipModeget_chip_mode (char *)
 
struct Cvex_BoardParmsget_corr_bd_parms (char *)
 
struct Cvex_Modeget_corr_mode (char *)
 
struct defget_def (char *, char *, int *, int *)
 
int get_drive_init (char *, struct drive_init_struct *)
 
int get_global_deflist (struct def_list **)
 
int get_logscan (struct def *, char *, struct station_log *)
 
int get_mode_deflist (struct def *, char *, struct def_list **)
 
int get_pbs_init (char *, struct pbs_init_struct *)
 
int get_pcm_config (char *, struct svex_struct *)
 
int get_pcm_tables (char *, struct svex_struct *)
 
struct Cvex_SectionModeget_section_mode (char *)
 
char * get_statement (char *, char **, char **)
 
int get_station_deflist (char *, struct def_list **)
 
int get_su_chan_out (char *, struct svex_struct *)
 
int get_su_connect (char *, struct su_connect_struct *)
 
int get_trm_config (char *, struct TRM_config_struct *)
 
int get_val_list (char *, char *[])
 
int get_version (int)
 
int get_vex (char *, int, char *, struct vex *)
 
int in_comment (char *)
 
int in_quote (char *)
 
void init_scan (struct scan_struct *, int)
 
struct ivex_structivex_info (char *)
 
int locate_blocks (void)
 
int locate_cq (void)
 
struct lvex_structlvex_info (char *)
 
char nextchar (char *)
 
int param_formats (void)
 
int parse_date (char *, struct date *)
 
int parse_dec (char *, struct sky_coord *)
 
int parse_pval (char *, char *, int, struct param_val *)
 
int parse_ra (char *, struct sky_coord *)
 
int parse_ref (int, struct ref *)
 
int parse_units (char *, int, double *)
 
int parse_vexfile (char *)
 
void print_location (int)
 
int process_qstring (char *, char *)
 
void prt_date (char *, struct date *)
 
int read_file (FILE *)
 
struct scan_structscan_info (char *, char *)
 
int strip_text (char *, char *, char *)
 
struct svex_structsvex_info (char *)
 
int vex_init (void)
 
int write_vexfile (int *, struct insert *, FILE *)
 

Function Documentation

◆ bitstream()

int bitstream ( char *  stream)

◆ block_params()

int block_params ( void  )

◆ check_intrange()

int check_intrange ( int  value,
char *  range 
)

◆ check_realrange()

int check_realrange ( double  value,
char *  range 
)

◆ check_stloc()

int check_stloc ( void  )

◆ check_strrange()

int check_strrange ( char *  value,
char *  range 
)

◆ cvex_info()

struct Cvex_Config* cvex_info ( char *  key)

◆ decode_pval()

int decode_pval ( struct param_val p_val,
struct pval_format p_def 
)

◆ do_antenna()

int do_antenna ( struct def_list dl,
struct station_struct stn 
)

◆ do_bbc()

int do_bbc ( struct def_list dl,
int  nchan,
struct station_struct stn 
)

◆ do_clock()

int do_clock ( struct def_list dl,
struct date refdate,
struct station_struct stn 
)

◆ do_das()

int do_das ( struct def_list dl,
struct station_struct stn 
)

◆ do_eop()

int do_eop ( struct def eopdef,
struct scan_struct scan 
)

◆ do_exper()

int do_exper ( struct def experdef,
struct scan_struct scan 
)

◆ do_freq()

int do_freq ( struct def_list dl,
struct station_struct stn,
int *  nchan 
)

◆ do_head_pos()

int do_head_pos ( struct def_list dl,
struct station_struct stn 
)

◆ do_if()

int do_if ( struct def_list dl,
int  nchan,
struct station_struct stn 
)

◆ do_pass_order()

int do_pass_order ( struct def_list dl,
struct station_struct stn 
)

◆ do_phase_cal_detect()

int do_phase_cal_detect ( struct def_list dl,
int  nchan,
struct station_struct stn 
)

◆ do_roll()

int do_roll ( struct def_list dl,
struct station_struct stn 
)

◆ do_site()

int do_site ( struct def_list dl,
struct station_struct stn 
)

◆ do_source()

int do_source ( struct def sourcedef,
struct source_struct src 
)

◆ do_track()

int do_track ( struct def_list dl,
int  nchan,
struct station_struct stn 
)

◆ evex_info()

struct evex_struct* evex_info ( char *  key)

◆ fill_deflists()

int fill_deflists ( void  )

◆ fill_scanlist()

int fill_scanlist ( void  )

◆ fill_station_parms()

int fill_station_parms ( struct def_list deflist,
int  ndefs,
struct date refdate,
struct station_struct st 
)

◆ find_statements()

int find_statements ( void  )

◆ get_block_mode()

struct Cvex_BlockMode* get_block_mode ( char *  block_mode)

◆ get_chip_mode()

struct Cvex_ChipMode* get_chip_mode ( char *  chip_mode)

◆ get_corr_bd_parms()

struct Cvex_BoardParms* get_corr_bd_parms ( char *  parms_mode)

◆ get_corr_mode()

struct Cvex_Mode* get_corr_mode ( char *  modename)

◆ get_def()

struct def* get_def ( char *  defname,
char *  blockname,
int *  blockno,
int *  defno 
)

◆ get_drive_init()

int get_drive_init ( char *  defname,
struct drive_init_struct drive_init 
)

◆ get_global_deflist()

int get_global_deflist ( struct def_list **  deflist)

◆ get_logscan()

int get_logscan ( struct def ldef,
char *  scanname,
struct station_log logstn 
)

◆ get_mode_deflist()

int get_mode_deflist ( struct def modedef,
char *  stname,
struct def_list **  deflist 
)

◆ get_pbs_init()

int get_pbs_init ( char *  defname,
struct pbs_init_struct pbs 
)

◆ get_pcm_config()

int get_pcm_config ( char *  defname,
struct svex_struct svex 
)

◆ get_pcm_tables()

int get_pcm_tables ( char *  defname,
struct svex_struct svex 
)

◆ get_section_mode()

struct Cvex_SectionMode* get_section_mode ( char *  sect_mode)

◆ get_statement()

char* get_statement ( char *  addr,
char **  first,
char **  last 
)

◆ get_station_deflist()

int get_station_deflist ( char *  stname,
struct def_list **  deflist 
)

◆ get_su_chan_out()

int get_su_chan_out ( char *  defname,
struct svex_struct svex 
)

◆ get_su_connect()

int get_su_connect ( char *  defname,
struct su_connect_struct su_connect 
)

◆ get_trm_config()

int get_trm_config ( char *  defname,
struct TRM_config_struct trm_config 
)

◆ get_val_list()

int get_val_list ( char *  ptr,
char *  vlist[] 
)

◆ get_version()

int get_version ( int  type)

◆ get_vex()

int get_vex ( char *  filename,
int  vextype,
char *  key,
struct vex vex 
)

◆ in_comment()

int in_comment ( char *  ptr)

◆ in_quote()

int in_quote ( char *  ptr)

◆ init_scan()

void init_scan ( struct scan_struct scan,
int  nstat 
)

◆ ivex_info()

struct ivex_struct* ivex_info ( char *  key)

◆ locate_blocks()

int locate_blocks ( void  )

◆ locate_cq()

int locate_cq ( void  )

◆ lvex_info()

struct lvex_struct* lvex_info ( char *  scanname)

◆ nextchar()

char nextchar ( char *  ptr)

◆ param_formats()

int param_formats ( void  )

◆ parse_date()

int parse_date ( char *  datestring,
struct date date 
)

◆ parse_dec()

int parse_dec ( char *  decstring,
struct sky_coord coord 
)

◆ parse_pval()

int parse_pval ( char *  statement,
char *  block,
int  typever,
struct param_val p_val 
)

◆ parse_ra()

int parse_ra ( char *  rastring,
struct sky_coord coord 
)

◆ parse_ref()

int parse_ref ( int  stno,
struct ref ref 
)

◆ parse_units()

int parse_units ( char *  unitstring,
int  units,
double *  factor 
)

◆ parse_vexfile()

int parse_vexfile ( char *  filename)

◆ print_location()

void print_location ( int  st)

◆ process_qstring()

int process_qstring ( char *  qstring,
char *  string 
)

◆ prt_date()

void prt_date ( char *  string,
struct date date 
)

◆ read_file()

int read_file ( FILE *  fp)

◆ scan_info()

struct scan_struct* scan_info ( char *  scanname,
char *  stations 
)

◆ strip_text()

int strip_text ( char *  first,
char *  last,
char *  str 
)

◆ svex_info()

struct svex_struct* svex_info ( char *  key)

◆ vex_init()

int vex_init ( void  )

◆ write_vexfile()

int write_vexfile ( int *  del_list,
struct insert ins_list,
FILE *  fp 
)