Project

General

Profile

DBtables.txt

Kyle Hazelwood, 01/15/2015 10:53 AM

 
1
DB table use in module 'mi_ramp':
2
mi_get_ramp
3
1.  i2_tables_1 - table_active_rec1 & table_rec_r1, for ramp calc
4

    
5
in module 'table': 
6
2. i2_parameters_1 -  ramp_par_rec_r, for ramp calc
7
.. the above two tables:  i2_tabless_1, i2_parameters_1, must be same ones as used in i2 !
8

    
9
3.  i3_parameters - par_rec_r,w  
10

    
11
4. i3_tables(named by string i3_table) -table_rec_w, -table_rec_tid_set,
12
	 -table_rec_del, -table_rec_r, -table_dir_r, -rf_active_rec,
13
	-table_rec_date_smallest,
14

    
15
5. i3_gen_pars, GEN_TABLE_STRUCT 104 floats with titles & fid 
16
	- gen_rec_r/w <- plt_setup_rw(with title 'plot_setup') in module 		'hv'  only. 
17

    
18
6. i3_pgm_pars,PGM_STRUCT(header)+20 integers
19
	-header  -pgm_par1_r, -pgm_par1_update 
20
typedef struct
21
 {
22
  int			family;
23
  int			cycle;
24
  int			tgh;
25
  int			mrf;
26
  int			mrfd;
27
  int			c465;
28
 }  __attribute__((packed)) /* Added by the PACKINATOR(tm) */ PGM_STRUCT;
29
extern PGM_STRUCT		ppar;
30
2> go
31
 family      cycle       tgh         mrf         mrfd        c465
32
         i1          i2          i3          i4          i5
33
         i6          i7          i8          i9          i10
34
         i11         i12         i13         i14         i15
35
         i16         i17         i18         i19         i20
36
 ----------- ----------- ----------- ----------- ----------- -----------
37
         ----------- ----------- ----------- ----------- -----------
38
         ----------- ----------- ----------- ----------- -----------
39
         ----------- ----------- ----------- ----------- -----------
40
         ----------- ----------- ----------- ----------- -----------
41
           1           3           1           1           1           1
42
                  -1           0           0           1          -1
43
                  -1          -1          -1           0           1
44
                  -1          -1          -1           1          -1
45
                   0          -1          -1           0           0
46

    
47
(1 row affected)
48
each of hv/hl devices has 2 integer specifying time/g tables. For example
49
for the only hv device they are 
50
hv program (-1,0) - f(t,e)/none =  t curve,event dependent / no p curve
51
hl id 0/bias (0,1) - none/f(p) = no t curve / p curve, not event depend.
52