1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
#ifndef DEVICE_FUNCTIONS_H_
#define DEVICE_FUNCTIONS_H_
#include "globals.h"
#include <glib.h>
ChannelStruct TestState[max_channels];
void idn_string(gchar** response);
int Set_frequency(int check_possible_only,int word_override,int range_override,int channel,float set_freq);
void Main_Rst(void);
int set_dac(int dac, int word);
int Set_Amplitude(int check_possible_only,int pol_override,int override_on,int word_override,int range_override,
int switch_range_only,int channel,float new_ampl,int called_from_set_pw);
int Set_Pw(int check_possible_only,int word_override,int range_override,int channel,float set_pw,int called_from_set_ampl);
int Set_Offset(int check_possible_only,int override_on,int word_override,int range_override,int channel,float new_offset);
int Set_Delay(int check_possible_only,int word_override,int range_override,int channel,float set_delay);
int Set_Double(int channel,int new_setting);
void Ctrl_PRF_Limiter(int enable);
int Set_Mux(int channel);
int Set_Func(int channel,int mode);
int Set_Pol(int channel,int mode);
int Set_Hold(int channel,int mode);
int Set_Output_State(int channel,int mode);
int Set_Trig_Source(int channel,int mode);
int Set_Gate_Sync(int channel,int mode);
int Set_Gate_Level(int channel,int mode);
int Set_zout(int channel,int setting,int really_for_zout);
int Set_Load(int channel, float value);
int Set_EA(int channel,int mode);
int Set_AdvDel(int channel,int setting);
int Set_Pwmode(int channel,int mode);
int Set_Update_Chans(void);
int Set_Amp_Calib(int channel,float meas_ampl);
int Set_Mon_Calib(int channel,float meas_ampl);
int Set_Logic_Level(int channel,int mode);
int Set_OS_Calib(int channel,float meas_ampl);
float Get_PW_shift(int channel);
int Set_PW_shift(int channel,float meas_ampl);
int Set_Route(int channel,int module,int mode);
int Set_EO(int channel,int mode);
int Set_Dly_Shr_Nom(int channel,int calibration_point_number);
int Set_Dly_Shr_Cal(int channel,int calibration_point_number,float cal_point);
int Set_Cal_Nom(int channel,int calibration_point_number,int parameter, float *nom_val);
int Set_VI_Cal_Pnt(int parameter,int channel,int calibration_point_number,float cal_point);
int Set_VI_Del_Cal(int parameter,int channel,int calibration_point_number);
int Set_VI_Control(int parameter,int channel,float new_ampl,int *point_found,int *relay_range,
int *UseNegData,int *entry,int *word_out,int *actual_pol);
int Set_VI_Add_Cal(int parameter,int channel,float cal_point);
int Get_VI_Num_Pnts(int parameter,int channel);
int Get_VI_Rng_Info(int parameter, int channel, int calibration_point_number, int *range,
int *polarity, int *entry, int *num_in_range, int *num_of_ranges);
int Check_MinMax_Cal(int channel,int parameter);
int control_pcb107(int address, int dac, int word, int range);
int Set_Burst_Count(int channel,int count,float new_burst_time);
int Set_Burst_Time(int check_possible_only,int word_override,int range_override,int channel,float new_burst_time);
int Set_rise_time(int check_possible_only,int word_override,int range_override,int channel,float new_burst_time);
int Set_current_limit(int check_possible_only,int channel,float adj_current_limit);
int Set_avrq_res(int check_possible_only,int word_override,int range_override,int channel,float new_res);
int Set_slew(int check_possible_only,int word_override,int range_override,int channel,float new_burst_time);
int Set_avrq_ampl(int check_possible_only,int word_override,int range_override,int channel,float new_avrq_ampl);
int go_cal(CalStruct *caldata);
int cal_string(char *parameter, CalStruct *caldata);
int self_cal();
int do_full_self_cal(CalStruct *caldata);
int I2C_Self_Cal(int channel, int meas_mode, float *meas, float target_time);
void Set_Rcl(int setting_num);
void Set_Sav(int setting_num);
void Main_update_shift_registers();
int IO_Setup_RS232(int baud, char handshake, gboolean update_flash);
#endif
|