/***********************************************************/ /* hp_das_12-22-96.h */ /* */ /* This program has been modified for the FASTEX cruise */ /* JHare 12-22-96 */ /* */ /* CHANGES MADE TO THIS FILE WILL NOT TAKE EFFECT */ /* UNTIL HP_DAS.C HAS BEEN COMPILED. */ /* */ /* The following preprocessor directives control the way */ /* in which ascii data strings are output from hp_das.c : */ /* */ /* MAX_MEANS (Campbell mean met data) */ /* MAX_HEADING (Auxiliary ship heading data) */ /* MAX_GPS (GPS data) */ /* MAX_OPHIR (Ophir laser hygrometer data) */ /* */ /* If MAX_[instrument] is greater than the number of */ /* characters acquired before a newline character is */ /* read, time stamped data strings are written to their */ /* appropriate output file at the reception of each */ /* newline character. Output will also be executed if */ /* a newline character has not been acquired after */ /* MAX_[instrument] characters have been read. */ /* */ /* The OUT_RS232A and OUT_RS232B directives are */ /* character strings that control the output of data from */ /* ports 1-8 on the Central Data SCSI terminal server */ /* through the RS232(a) and RS232(b) ports on the HP */ /* computing unit. Specify the port number(s), as */ /* indicated on the Central Data system, seperated by */ /* whitespace for the appropriate output port directive. */ /* Each character string must be enclosed in double */ /* quotes. For example, to output Central Data port 1 to */ /* RS232(a), Central Data port 5 to RS232(a) and RS232(b) */ /* and Central Data port 8 to RS232(b), define OUT_RS232A */ /* and OUT_RS232B as follows: */ /* #define OUT_RS232A "1 5" */ /* #define OUT_RS232B "5 8" */ /* If no output data is desired, define the appropriate */ /* OUT_RS232? directive as "". All data are output at */ /* 9600 baud/no parity/8 data bits/1 stop bit. */ /* */ /* The STATUS_INT directive is an integer value that */ /* defines the time interval (in seconds) to report */ /* to screen the number of bytes acquired from each port. */ /* */ /* NOTE: If any of the MAX_[instruments] directives are */ /* missing from this file or have a zero or */ /* negative value, hp_das.c will assign a default */ /* value of 200. If OUT_RS232A or OUT_RS232B are */ /* missing from this file hp_das.c will assign a */ /* default value of "" (all RS232 output disabled). */ /* */ /* The following is a list of preprocessor directives */ /* statements defined in this file: */ /* */ /* #define MAX_MEANS [integer value] */ /* #define MAX_HEADING [integer value] */ /* #define MAX_GPS [integer value] */ /* #define MAX_OPHIR [integer value] */ /* #define OUT_RS232A [character string] */ /* #define OUT_RS232B [character string] */ /* #define STATUS_INT [integer value] */ /* */ /* DGottas 7/16/96 */ /* DGottas 12/5/96 */ /* JHare 12/21/96 */ /***********************************************************/ #define MAX_MEANS 200 #define MAX_HEADING 200 #define MAX_GPS 200 #define MAX_OPHIR 200 #define OUT_RS232A "" #define OUT_RS232B "" #define STATUS_INT 5