summaryrefslogtreecommitdiff
path: root/device-functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'device-functions.h')
-rw-r--r--device-functions.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/device-functions.h b/device-functions.h
index f3a28ba..d31cfa9 100644
--- a/device-functions.h
+++ b/device-functions.h
@@ -10,4 +10,60 @@ 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);
+
#endif