|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SwingWorker | +--ControllerConfigCommand
Field Summary | |
private int |
amp
|
private int |
binning_parameters_bx
|
private int |
binning_parameters_by
|
private boolean |
binning_selected
|
private boolean |
coadder_selected
|
private boolean |
do_all
|
private boolean |
do_binning
|
private boolean |
do_both_readouts
|
private boolean |
do_coadd_download
|
private boolean |
do_coadder
|
private boolean |
do_gain
|
private boolean |
do_mpp
|
private boolean |
do_number_of_coadds
|
private boolean |
do_readout
|
private boolean |
do_serial_readout
|
private boolean |
do_temperature
|
private boolean |
do_video_offsets
|
private DspCommand2 |
dsp_cmd
|
private boolean |
gain_selected
|
private ManualCommand |
manual_cmd
|
private boolean |
mpp_selected
|
private int |
mpp_value
|
private int |
number_of_coadds
|
protected ControllerConfigDialog |
parent
|
private boolean |
readout_selected
|
private double |
temperature
|
private boolean |
temperature_selected
|
private int[] |
user_input
|
private int |
value_of_gain
|
private int |
value_of_speed
|
private boolean |
video_offsets_selected
|
Fields inherited from class SwingWorker |
abort,
thread,
value |
Constructor Summary | |
ControllerConfigCommand(ControllerConfigDialog parent)
Class constructor. |
Method Summary | |
java.lang.Object |
apply()
This method sends all the ControllerConfig information to the PCI interface board. |
java.lang.Object |
construct()
This method initiates the download. |
void |
finished()
This method sets the "Apply" button back to "Apply". |
void |
select_binning(boolean binning)
This method selects binning for current command issue. |
void |
select_coadder(boolean coadd)
This method selects coadder for current command issue. |
void |
select_gain(boolean gain)
This method selects gain for current command issue. |
void |
select_mpp(boolean mpp)
This method selects MPP for current command issue. |
void |
select_readout(boolean readout)
This method selects readout for current command issue. |
void |
select_temperature(boolean temperature)
This method selects temperature for current command issue. |
void |
select_video_offsets(boolean video_offsets)
This method selects video offsets for current command issue. |
void |
set_all(boolean all_on)
This method sets the apply() method to apply all configurations. |
void |
set_amplifier(int amp)
This method sets the amplifier(s) to use for readout. |
void |
set_binning_cols(int bx)
This method sets the value for binning_cols according to what the user chooses. |
void |
set_binning_rows(int by)
This method sets the value for binning_rows according to what the user chooses. |
void |
set_binning(boolean binning_on)
This method sets the binning to on/off. |
void |
set_both_readouts(boolean both_readouts)
This method sets the split_parallel commmand to on/off. |
void |
set_coadd_download(boolean coadd_download)
This method sets the coadder download to on/off. |
void |
set_coadder(boolean coadd)
This method sets the coadder to on/off. |
void |
set_gain(boolean gain_on)
This method sets the gain to on/off. |
void |
set_gain(int gain)
This method sets the video gain. |
void |
set_mpp_value(int mpp_value)
This method sets the MPP value. |
void |
set_mpp(boolean mpp_on)
This method sets the MPP to on/off. |
void |
set_number_of_coadds(boolean do_number_of_coadds)
This method sets the number of coadds to perform. |
void |
set_number_of_coadds(java.lang.String coadds_num)
This method parses and sets the number of coadds to perform. |
void |
set_readout(boolean readout)
This method specifies whether or not any readout commands are implemented. |
void |
set_serial_readout(boolean serial_readout)
This method sets the split_serial commmand to on/off. |
void |
set_speed(int speed)
This method sets the integrator speed. |
void |
set_temperature(boolean temperature_on)
This method sets the temperature to on/off. |
void |
set_temperature(java.lang.String desired_temperature)
This method parses and sets the array temperature. |
void |
set_video_offsets(boolean video_offsets_on)
This method sets the video offsets to on/off. |
void |
set_video_offsets(int index,
java.lang.String video_offset)
This method parses and sets the video offsets. |
void |
stop()
This method aborts the current thread. |
Methods inherited from class SwingWorker |
alive,
get,
interrupt,
thread_it |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected ControllerConfigDialog parent
private DspCommand2 dsp_cmd
private ManualCommand manual_cmd
private boolean do_binning
private boolean do_readout
private boolean do_serial_readout
private boolean do_both_readouts
private boolean do_mpp
private boolean do_coadder
private boolean do_coadd_download
private boolean do_number_of_coadds
private boolean do_gain
private boolean do_video_offsets
private boolean do_temperature
private boolean do_all
private boolean binning_selected
private boolean readout_selected
private boolean mpp_selected
private boolean coadder_selected
private boolean gain_selected
private boolean video_offsets_selected
private boolean temperature_selected
private double temperature
private int mpp_value
private int amp
private int value_of_gain
private int value_of_speed
private int number_of_coadds
private int binning_parameters_bx
private int binning_parameters_by
private int[] user_input
Constructor Detail |
public ControllerConfigCommand(ControllerConfigDialog parent)
Method Detail |
public java.lang.Object construct()
SwingWorker
,
DspCommand2
public void finished()
SwingWorker
public void stop()
SwingWorker
public void set_binning(boolean binning_on)
binning_on
- True to perform the binning on the controller, false to
not perform the binning on the controller.public void set_coadder(boolean coadd)
coadder_on
- True to perform the coadder on the controller,
false to not perform the coadder on the controller.public void set_coadd_download(boolean coadd_download)
coadder_on
- True to download the coadder DSP code to the controller,
false to not download the code.public void set_number_of_coadds(boolean do_number_of_coadds)
public void set_gain(boolean gain_on)
gain_on
- True to perform the gain on the controller,
false to not perform the gain on the controller.public void set_video_offsets(boolean video_offsets_on)
video_offsets_on
- True to perform the video offsets on the
controller,
false to not perform the video
offsets on the controller.public void set_readout(boolean readout)
readout
- True if set readout mode is implemented, false if it is
not.public void set_serial_readout(boolean serial_readout)
split_serial_on
- True to perform the split_serial on the controller,
false to not perform the split_serial on the controller.public void set_both_readouts(boolean both_readouts)
split_parellel_on
- True to perform the split_parallel on the controller,
false to not perform the split_parallel on the controller.public void set_mpp(boolean mpp_on)
mpp_on
- True to use MPP,
False to not use MPP.public void set_temperature(boolean temperature_on)
temperature_on
- True to perform the temperature on the controller,
false to not perform the temperature on the controller.public void select_binning(boolean binning)
binning
- True to send the binning to the controller, false to
not send the binning to the controller.public void select_coadder(boolean coadd)
coadder
- True to send the coadder to the controller,
false to not send the coadder to the controller.public void select_gain(boolean gain)
gain
- True to send the gain to the controller,
false to not send the gain to the controller.public void select_video_offsets(boolean video_offsets)
video_offsets
- True to send the video offsets to the controller,
false to not send the video offsets to the controller.public void select_readout(boolean readout)
readout
- True to send readout info to the controller, false to
not send any readout info the controller.public void select_mpp(boolean mpp)
temperature
- True to send the MPP to the controller,
false to not send the MPP to the controller.public void select_temperature(boolean temperature)
temperature
- True to send the temperature to the controller,
false to not send the temperature to the controller.public void set_all(boolean all_on)
all_on
- True to apply all configurations,
False to apply only a
specific one.public void set_amplifier(int amp)
amp
- The amplifier to use. Depending on the mode, may be one of
the following ascii strings: "__A", "__B", "__C", "__D",
"_AB", "_CD", "__L", "__R", "_LR", or "ALL".public void set_mpp_value(int mpp_value)
mpp_value
- The MPP value. May be 0 for no MPP mode or 1 for MPP.public void set_binning_cols(int bx)
bx
- binning parameters columns.public void set_binning_rows(int by)
by
- binning paremeters rows.public void set_gain(int gain)
gain
- The gain value.public void set_speed(int speed)
speed
- The integrator speed.public void set_video_offsets(int index, java.lang.String video_offset) throws java.lang.NumberFormatException
video_offset
- The video offset value.index
- The video offset number.public void set_number_of_coadds(java.lang.String coadds_num) throws java.lang.NumberFormatException
coadds_num
- The number of coadds to perform.public void set_temperature(java.lang.String desired_temperature) throws java.lang.NumberFormatException
desired_temperature
- The lower limit of the array temperature.public java.lang.Object apply()
SwingWorker
,
DspCommand2
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |