Project

General

Profile

Files » proto.h

Frédéric Blanc, 2016-01-29 09:58

 
#ifndef __PROTO_H__
#define __PROTO_H__
//INIT
void fatal_error (char msg[]);
int init_main (char uir[]);
int init_close (void);
int init_panel_Measure(int dimmed);
int init_instrument (void);
int init_panel (void);
int init_reset_panel (void);
int init_usine (void);
int init_phase(void);
//INST
int init_type_inst(int inst);
int init_LOAD(int inst_load);
int init_POWER(int inst_power);
int init_PM(int inst_PM);
int init_PM_CAL(void);
int init_PM_measure(void);
//LOG
int save_LOG (char *texte);
int test_LOG(int test);
//UIR
int validationSETUP(int instrum);
//CMD_INST
int cmd_load (float volt,float curr,int etat);
int cmd_power(float tension,float courant,int etat);
int cmd_display_text(int instrum,char* txt);
int read_PM_YOKOGAWA(double *Vin,double *Iin,double *Pin,
double *Vout,double *Iout,double *Pout,double *V3,double *V4,double *I3,double *I4,double *P3,double *P4);
int read_Cal_PM_YOKOGAWA(double *CalVin,double *CalIin,
double *CalVout,double *CalIout);
int read_PM_volt(double *volt);
int cmd_PM_CAL_V(int element,double setting);
int cmd_AFG_trig(int inst_afg);
int cmd_AFG_out(int inst_afg,int phase,int etat);
int cmd_AFG_freq(int inst_afg,int phase);
int cmd_AFG_delay(int inst_afg,int phase);
int cmd_AFG_pwm(int inst_afg,int phase,double pwm);
int cmd_AFG_pwm_ALL(double pwm);
//XML
int load_xml (void );
int save_xml (void);
int load_consigne_xml (char chemin_nom[]) ;
int save_consigne_xml (char chemin_nom[]);
//FNCT
int Get_panel_control(void) ;
int Set_panel_control(void);
int CVICALLBACK CVI_timer (int reserved, int timerId, int event, void *callbackData, int eventData1, int eventData2);
int Set_panel_measure_time_total(void);
int Set_panel_measure_time_elapsed (void);
int Set_panel_measure_time_remaining(void);
int fnct_stop (void);
int fnct_start (void);
int fnct_measure (void);
int fnct_PID (void);
int fnct_plot (int color) ;
int fnct_cal_err(void);
int fnct_attente (int i,char* message);
//FILE
int save_dir_init (void );
int save_mesure (void);
int save_mesure_init (int cycle);
#endif
(22-22/25)