#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "application.conf"
Defines | |
| #define | P1NAM0 " Min. scan energy " |
| #define | P1NAM1 " Max. scan energy " |
| #define | P1NAM2 " Ion charge " |
| #define | P1NAM3 " Ion mass " |
| #define | P1NAM4 " Ion energy " |
| #define | P1NAM5 " Efficiency " |
| #define | P1NAM6 " Type of ECF program " |
| #define | P1NAM7 " WWR potential " |
| #define | P1UNIT0 " [eV]" |
| #define | P1UNIT1 " [eV]" |
| #define | P1UNIT2 " [q]" |
| #define | P1UNIT3 " [amu]" |
| #define | P1UNIT4 " [keV]" |
| #define | P1UNIT5 " [%%]" |
| #define | P1UNIT6 " " |
| #define | P1UNIT7 " [%%]" |
| #define | P2NAM00 " Time base spectrum 4:" |
| #define | P2NAM01 " Divider [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 | |
| static int | rdconv (void) |
| void | Setcfes (void) |
| void | Setcfis (void) |
| int | Shoxhdr (void) |
| int | Inxpar (int mode) |
| void | Cnvxpar (FILE *fd1) |
Variables | |
| float | gp0old = 80. |
| char * | chzeit [16] |
| char * | chestr [8] |
| char * | chistr [16] |
modification history -------------------- 15aug08 kHu DOXYGEN comments added 16apr03 kHu Fit gemacht fuer -Wall GCC-Option 14jan03 kHu neu: Edit header of spectrum 16may02 kHu Test von dac1-4 usw. nach ess44.c (EXchck()) 15may02 kHu "loop = FALSE" bei: Continue old spectrum vergessen 07may02 kHu "Update parameters" in inxpar..() 03apr01 kHu Cnvxpar() neu 08mar01 kHu Inxpar() update converter data 05mar01 kHu ECWrite() Argumente invertiert 05jan01 kHu tReadp() -> tMenu 19dec00 kHu Ion-/Elektr.-Strom Konversionsfaktoren veraenderbar 16oct00 kHu ECread() ohne Invertieren 05sep00 kHu ECinit(void) -> ECinit(BOOL initIT) 24jan00 kHu guntyp, gunpar[10] in header 11nov99 kHu Newprog Standard 28okt99 kHu x.conf x.h neu geordnet 22okt99 kHu mit ESW abgeglichen 05oct99 kHu neu aus ESW
| #define P1NAM0 " Min. scan energy " |
| #define P1NAM1 " Max. scan energy " |
| #define P1NAM2 " Ion charge " |
| #define P1NAM3 " Ion mass " |
| #define P1NAM4 " Ion energy " |
| #define P1NAM5 " Efficiency " |
| #define P1NAM6 " Type of ECF program " |
| #define P1NAM7 " WWR potential " |
| #define P1UNIT0 " [eV]" |
| #define P1UNIT1 " [eV]" |
| #define P1UNIT2 " [q]" |
| #define P1UNIT3 " [amu]" |
| #define P1UNIT4 " [keV]" |
| #define P1UNIT5 " [%%]" |
| #define P1UNIT6 " " |
| #define P1UNIT7 " [%%]" |
| #define P2NAM00 " Time base spectrum 4:" |
| #define P2NAM01 " Divider [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]" |
| void Cnvxpar | ( | FILE * | fd1 | ) |
| int Inxpar | ( | int | mode | ) |
| static int rdconv | ( | void | ) | [static] |
| void Setcfes | ( | void | ) |
| void Setcfis | ( | 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 gp0old = 80. |
1.5.6