/* ************************************************************** */ /* * HP3457.H * * Zachary Wolf * 8/15/98 */ #ifndef __HP3457_HEADER #define __HP3457_HEADER #if defined(__cplusplus) || defined(__cplusplus__) extern "C" { #endif /* ************************************************************** */ /* PUBLIC FUNCTION DECLARATIONS */ void hp3457_init(int gpib_board_addr, int gpib_dev_addr, int* dev_ID); void hp3457_preset(int dev_ID); void hp3457_setup_voltage(int dev_ID); void hp3457_read_chan_voltage(int dev_ID, int chan, double* voltage); void hp3457_get_chan_voltage(int dev_ID, int chan, double* voltage); void hp3457_get_chan_frequency(int dev_ID, int chan, double* frequency); void hp3457_get_chan_resistance(int dev_ID, int chan, double* resistance); void hp3457_get_chan_temperature(int dev_ID, int chan, double* temperature); void hp3457_monitor_chan_voltage(int dev_ID, int chan); void hp3457_get_chan_max_voltage_1sec(int dev_ID, int chan, double* max_volt); void hp3457_get_timed_voltage_samples(int dev_ID, int chan, int num_samples, double delta_t, double voltages[]); void hp3457_get_triggered_voltage_samples(int dev_ID, int chan, int num_samples, double delta_t, double voltages[]); void hp3457_exit(int dev_ID); /* ************************************************************** */ /* SEMI-PERMANENT PARAMETERS */ #define HP3457_MAX_NUM_DEV 10 #define HP3457_MAX_CMD 80 #define HP3457_NUM_CHAN 10 /* ************************************************************** */ /* DONE */ #if defined(__cplusplus) || defined(__cplusplus__) } #endif #endif