#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "limits.h"
#include "application.conf"
Defines | |
| #define | PRIVATwqa |
| #define | P1NAM0 " Electron energy " |
| #define | P1NAM1 " " |
| #define | P1NAM2 " Ion charge " |
| #define | P1NAM3 " Ion mass " |
| #define | P1NAM4 " Ion energy " |
| #define | P1NAM5 " Efficiency " |
| #define | P1NAM6 " Angular position indicator " |
| #define | P1NAM7 " Devider " |
| #define | P1NAM8 " WWR potential " |
| #define | P1NAM9 " Ring potential " |
| #define | P1UNIT0 " [eV]" |
| #define | P1UNIT1 " " |
| #define | P1UNIT2 " [q]" |
| #define | P1UNIT3 " [amu]" |
| #define | P1UNIT4 " [keV]" |
| #define | P1UNIT5 " [%%]" |
| #define | P1UNIT6 " [Imp/10mm]" |
| #define | P1UNIT7 " " |
| #define | P1UNIT8 " [%%]" |
| #define | P1UNIT9 " [%%]" |
| #define | P2NAM00 " Time base spectrum 4:" |
| #define | P2NAM01 " Devider [2**(-n) MHz] " |
| #define | P2NAM02 " Frequency " |
| #define | P2NAM10 " Electron current converter:" |
| #define | P2NAM11 " Range " |
| #define | P2NAM12 " Full scale constant " |
| #define | P2NAM20 " Ion current converter:" |
| #define | P2NAM21 " Range " |
| #define | P2NAM22 " Full scale constant " |
| #define | P2UNIT00 " " |
| #define | P2UNIT01 " " |
| #define | P2UNIT02 " " |
| #define | P2UNIT10 " " |
| #define | P2UNIT11 " " |
| #define | P2UNIT12 " [Hz]" |
| #define | P2UNIT20 " " |
| #define | P2UNIT21 " " |
| #define | P2UNIT22 " [Hz]" |
Functions | |
| int | Shoxhdr (void) |
| void | Cnvspe (void) |
Variables | |
| char * | chzeit [16] |
| char * | chestr [8] |
| char * | chistr [16] |
| float | fsestr [8] |
| float | fsistr [16] |
Features:
Display of ESW Data
Cross Section Calculation
modification history -------------------- 14oct08 kHu DOXYGEN comments added 16apr03 kHu Fit gemacht fuer -Wall GCC-Option 12sep02 kHu Updpar() geaendert 14mar01 kHu Cnvspe() von wqa11.c nach wqa19.c und erweitert 15feb00 kHu erweitert auf verschiedene Header Typen 24jan00 kHu guntyp, gunpar[10] in header 11nov99 kHu Newprog Standard 06sep99 kHu an IAP angepasst 11may99 kHu from esw23.c
| #define P1NAM0 " Electron energy " |
| #define P1NAM1 " " |
| #define P1NAM2 " Ion charge " |
| #define P1NAM3 " Ion mass " |
| #define P1NAM4 " Ion energy " |
| #define P1NAM5 " Efficiency " |
| #define P1NAM6 " Angular position indicator " |
| #define P1NAM7 " Devider " |
| #define P1NAM8 " WWR potential " |
| #define P1NAM9 " Ring potential " |
| #define P1UNIT0 " [eV]" |
| #define P1UNIT1 " " |
| #define P1UNIT2 " [q]" |
| #define P1UNIT3 " [amu]" |
| #define P1UNIT4 " [keV]" |
| #define P1UNIT5 " [%%]" |
| #define P1UNIT6 " [Imp/10mm]" |
| #define P1UNIT7 " " |
| #define P1UNIT8 " [%%]" |
| #define P1UNIT9 " [%%]" |
| #define P2NAM00 " Time base spectrum 4:" |
| #define P2NAM01 " Devider [2**(-n) MHz] " |
| #define P2NAM02 " Frequency " |
| #define P2NAM10 " Electron current converter:" |
| #define P2NAM11 " Range " |
| #define P2NAM12 " Full scale constant " |
| #define P2NAM20 " Ion current converter:" |
| #define P2NAM21 " Range " |
| #define P2NAM22 " Full scale constant " |
| #define P2UNIT00 " " |
| #define P2UNIT01 " " |
| #define P2UNIT02 " " |
| #define P2UNIT10 " " |
| #define P2UNIT11 " " |
| #define P2UNIT12 " [Hz]" |
| #define P2UNIT20 " " |
| #define P2UNIT21 " " |
| #define P2UNIT22 " [Hz]" |
| #define PRIVATwqa |
| void Cnvspe | ( | void | ) |
| int Shoxhdr | ( | void | ) |
| char* chestr[8] |
Initial value:
{
"500 [mA]","150 [mA]"," 50 [mA]"," 15 [mA]",
" 5 [mA]","1.5 [mA]","500 [ľA]","150 [ľA]"
}
| char* chistr[16] |
Initial value:
{
"100 [ľA]"," 30 [ľA]"," 10 [ľA]"," 3 [ľA]",
" 1 [ľA]","300 [nA]","100 [nA]"," 30 [nA]",
" 10 [nA]"," 3 [nA]"," 1 [nA]","300 [pA]",
"100 [pA]"," 30 [pA]"," 10 [pA]"," 3 [pA]"
}
| char* chzeit[16] |
Initial value:
{
" 1 [MHz]"," 500 [kHz]"," 250 [kHz]"," 125 [kHz]",
" 62.5 [kHz]","31.25 [kHz]","15.63 [kHz]","7.813 [kHz]",
"3.906 [kHz]","1.953 [kHz]"," 976.6 [Hz]"," 488.3 [Hz]",
" 244.1 [Hz]"," 122.1 [Hz]"," 61.04 [Hz]"," 30.52 [Hz]"
}
| float fsestr[8] |
Initial value:
{
500000.,
500000.,
500000.,
500000.,
500000.,
500000.,
500000.,
500000.,
}
| float fsistr[16] |
Initial value:
{
500000.,
500211.,
500106.,
500317.,
500000.,
500211.,
500106.,
500317.,
500450.,
500662.,
500556.,
500767.,
498904.,
499115.,
499009.,
499220.,
}
1.5.6