#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "application.conf"
Defines | |
| #define | P1NAM0 " B min. " |
| #define | P1NAM1 " B max. " |
| #define | P1NAM2 " Startup time " |
| #define | P1NAM3 " Pause time " |
| #define | P1NAM4 " Gate time " |
| #define | P1NAM5 " Acceleration voltage " |
| #define | P1NAM6 " Diaphragm horizontal " |
| #define | P1NAM7 " Diaphragm vertical " |
| #define | P1NAM8 " Faraday cup # " |
| #define | P1NAM9 " Gas pressure " |
| #define | P1NAM10 " Gas type " |
| #define | P1NAM11 " ADC to Gauss conv. factor" |
| #define | P1UNIT0 " [kGauss]" |
| #define | P1UNIT1 " [kGauss]" |
| #define | P1UNIT2 " [s]" |
| #define | P1UNIT3 " [ms]" |
| #define | P1UNIT4 " [ms]" |
| #define | P1UNIT5 " [kV]" |
| #define | P1UNIT6 " [mm]" |
| #define | P1UNIT7 " [mm]" |
| #define | P1UNIT8 "" |
| #define | P1UNIT9 " [mb]" |
| #define | P1UNIT10 "" |
| #define | P1UNIT11 "" |
| #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) |
| void | Adc2kG (void) |
Variables | |
| char * | chzeit [16] |
| char * | chestr [8] |
| char * | chistr [16] |
modification history -------------------- 15oct08 kHu DOXYGEN comments added 16apr03 kHu Fit gemacht fuer -Wall GCC-Option 14jan03 kHu neu: Edit header of spectrum 15mar01 kHu new from ESS
| #define P1NAM0 " B min. " |
| #define P1NAM1 " B max. " |
| #define P1NAM10 " Gas type " |
| #define P1NAM11 " ADC to Gauss conv. factor" |
| #define P1NAM2 " Startup time " |
| #define P1NAM3 " Pause time " |
| #define P1NAM4 " Gate time " |
| #define P1NAM5 " Acceleration voltage " |
| #define P1NAM6 " Diaphragm horizontal " |
| #define P1NAM7 " Diaphragm vertical " |
| #define P1NAM8 " Faraday cup # " |
| #define P1NAM9 " Gas pressure " |
| #define P1UNIT0 " [kGauss]" |
| #define P1UNIT1 " [kGauss]" |
| #define P1UNIT10 "" |
| #define P1UNIT11 "" |
| #define P1UNIT2 " [s]" |
| #define P1UNIT3 " [ms]" |
| #define P1UNIT4 " [ms]" |
| #define P1UNIT5 " [kV]" |
| #define P1UNIT6 " [mm]" |
| #define P1UNIT7 " [mm]" |
| #define P1UNIT8 "" |
| #define P1UNIT9 " [mb]" |
| #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 Adc2kG | ( | void | ) |
| 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]"
}
1.5.6