#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "ctype.h"
#include "limits.h"
#include "application.conf"
Defines | |
#define | SHCLEN 80 |
#define | STITLE " File spezification of spectrum" |
#define | MARKERs parfile.dataSpe.mardat.markrs |
#define | MARKERi parfile.dataIteg.mardat.markrs |
#define | HELPspe |
#define | HELPspeZ |
#define | HELPmat |
#define | HELPmatZ |
#define | HELPspt |
#define | HELProt |
#define | HELPitg |
#define | HELPitgZ |
Functions | |
static int | fcswtch (int cmd, int zmode) |
static int | spload (void) |
static void | setstartup (void) |
static void | setmessage (void) |
static void | cnvspe (void) |
int | pStart (int stmode) |
void | MainMenu (void) |
void | Newspe (char *title) |
int | Updpar (int mode) |
void | Setconf (void) |
Variables | |
int | strtup = 0 |
Features:
X * Y * Z * counts version Display of spectrum
Peak integration
Hidden lines display of matrix
Contour Plot of matrix
Rotated display of matrix
modification history -------------------- 15aug08 kHu DOXYGEN comments added 20apr07 kHu DIM3SPEC, IPLANES, NPLANE 01jun04 kHu added Contour plot of matrix 21may04 kHu DSPMOD = stmode; Vergessen??? 21.5.04 16apr03 kHu Fit gemacht fuer -Wall GCC-Option 05mar03 kHu char exit...[] = {...,'\0'}; 06jan03 kHu strt...: BOOL -> int; loadpar raus BOOL newdata -> int strtup 12sep02 kHu Updpar() geaendert 16aug02 kHu Direktzugriff zu Header in Messprogramm; spload(), Updpar() geaendert newdata neues Argument von fcswtch(); strtxxx, pkpos neue Argumnte von ItegEntr(), SpeEntr(), MatEntr(), RotEntr(); Transfer der Peakpos. in ItegCntl(), SpeCntl() statt peak10.c; 02jul02 kHu uInit(), uReset(), checkStack() 25jun02 kHu sClose() in Exit und spload() (memory leak) 28feb02 kHu more args on Start: PNAME,PTITLE,PARNAM,HLPNAM,stmode 28aug01 kHu Updpar() neu 13sep00 kHu tReadp() -> tMenu 11sep00 kHu STARTEND raus, durch ^Z ersetzt (s.u.) 11sep00 kHu ^T, ^Z, ^H Funktionen besser an Kontext angepasst 11sep00 kHu Status "online" bei Aufruf von Parent Task 08sep00 kHu ^Z als Austieg zum Main Menu 08sep00 kHu if(stmode != 0) -> STATUS |= 0x4000; 21feb00 kHu Files(3)-Aufruf if(...ERROR) 19nov99 kHu Zero spectrum if test run 11nov99 kHu Newprog Standard 09sep99 kHu neu: hlptxt, exitcmd 02sep99 kHu Abschluss Pruefung 24aug99 kHu ueberarbeitet 19jul99 kHu neue Struktur 14jul99 kHu Setconf() neu 13jul99 kHu neue Struktur (MainMenu) 07jun99 kHu convert spectrum to ASCII 23mar99 kHu new: Execute shell command 14dec98 kHu Umstellung auf tReadp() 18nov98 kHu Peak integration added 28sep98 kHu Modi bei Aufruf von Task erweitert 03sep98 kHu auf neuen Stand gebracht 30aug96 kHu Menu und Parameter I/O neu ueberarbeitet auf MCA Standard 17nov95 kHu Ultrix, VxWorks Portierung (C) 08feb88 kHu PDP11 Version (F77, Macro-11)
#define HELPitg |
Value:
" Exits:\n" \ " CR Return to main menu\n" \ " ^Z Return to main menu\n" \ " ^D Show spectrum (more help)\n" \ " -> Show matrix -> Contour plot -> Rotate matrix\n" \ " ^E Energy calibration (more help)"
#define HELPitgZ |
Value:
" Exits:\n" \ " CR Return to parent task\n" \ " ^Z Return to main menu\n" \ " ^D Show spectrum (more help)\n" \ " -> Show matrix -> Contour plot -> Rotate matrix\n" \ " ^E Energy calibration (more help)"
#define HELPmat |
Value:
" Exits:\n" \ " CR Return to main menu\n" \ " ^Z Return to main menu\n" \ " ^D Contour plot (more help)\n" \ " -> Rotate matrix -> Show spectrum -> Show matrix\n" \ " ^I Peak integration (more help)\n" \ " ^E Energy calibration (more help)"
#define HELPmatZ |
Value:
" Exits:\n" \ " CR Return to parent task\n" \ " ^Z Return to main menu\n" \ " ^D Contour plot (more help)\n" \ " -> Rotate matrix -> Show spectrum -> Show matrix\n" \ " ^I Peak integration (more help)\n" \ " ^E Energy calibration (more help)"
#define HELProt |
Value:
" Exits:\n" \ " CR Return to main menu\n" \ " ^Z Return to main menu\n" \ " ^D Show spectrum (more help)\n" \ " -> Show matrix -> Contour plot -> Rotate matrix\n" \ " ^I Peak integration (more help)\n" \ " ^E Energy calibration (more help)"
#define HELPspe |
Value:
" Exits:\n" \ " CR Return to main menu\n" \ " ^Z Return to main menu\n" \ " ^D Show matrix (more help)\n" \ " -> Contour plot -> Rotate matrix -> Show spectrum\n" \ " ^I Peak integration (more help)\n" \ " ^E Energy calibration (more help)"
#define HELPspeZ |
Value:
" Exits:\n" \ " CR Return to parent task\n" \ " ^Z Return to main menu\n" \ " ^D Show matrix (more help)\n" \ " -> Contour plot -> Rotate matrix -> Show spectrum\n" \ " ^I Peak integration (more help)\n" \ " ^E Energy calibration (more help)"
#define HELPspt |
Value:
" Exits:\n" \ " CR Return to main menu\n" \ " ^Z Return to main menu\n" \ " ^D Rotate matrix (more help)\n" \ " -> Show spectrum -> Show matrix -> Contour plot\n" \ " ^I Peak integration (more help)\n" \ " ^E Energy calibration (more help)"
#define MARKERi parfile.dataIteg.mardat.markrs |
#define MARKERs parfile.dataSpe.mardat.markrs |
#define SHCLEN 80 |
#define STITLE " File spezification of spectrum" |
static void cnvspe | ( | void | ) | [static] |
static int fcswtch | ( | int | cmd, | |
int | zmode | |||
) | [static] |
void MainMenu | ( | void | ) |
void Newspe | ( | char * | title | ) |
int pStart | ( | int | stmode | ) |
void Setconf | ( | void | ) |
static void setmessage | ( | void | ) | [static] |
static void setstartup | ( | void | ) | [static] |
static int spload | ( | void | ) | [static] |
int Updpar | ( | int | mode | ) |
int strtup = 0 |