From 3d81b204d67641134dfb858463a043be2e2b88ac Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Fri, 9 Nov 2007 08:34:17 +1100 Subject: [PATCH] Frame source now defaults to EXTERNAL if setting a non-zero frame frequency. r2251 | ffr | 2007-11-09 08:34:17 +1100 (Fri, 09 Nov 2007) | 2 lines --- .../instrument/config/hmm/hmm_configuration_common_1.tcl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site_ansto/instrument/config/hmm/hmm_configuration_common_1.tcl b/site_ansto/instrument/config/hmm/hmm_configuration_common_1.tcl index dab851a9..908846ae 100644 --- a/site_ansto/instrument/config/hmm/hmm_configuration_common_1.tcl +++ b/site_ansto/instrument/config/hmm/hmm_configuration_common_1.tcl @@ -1,5 +1,5 @@ -# $Revision: 1.25 $ -# $Date: 2007-11-07 04:47:34 $ +# $Revision: 1.26 $ +# $Date: 2007-11-08 21:34:17 $ # Author: Ferdi Franceschini # Based on the examples in the hs_test.tcl sample configuration by Mark Lesha. # http://gumtree.ansto.gov.au:9080/nbicms/bragg-systems/histogram-server/hs_test.tcl/view @@ -943,11 +943,11 @@ proc ::histogram_memory::get_frame_freq {} { # @brief Sets the histogram memory frame frequency to the given value. # # @param freq Frequency in Hz.\n -# @param frame_source INTERNAL (default) or EXTERNAL +# @param frame_source INTERNAL or EXTERNAL(default) # # If freq=0 then it sets the frequency to 50Hz with an internal frame source. This is useful # if you are setting the frequency from a chopper which is stopped. -proc ::histogram_memory::set_frame_freq {freq {frame_source INTERNAL}} { +proc ::histogram_memory::set_frame_freq {freq {frame_source EXTERNAL}} { variable state # Frame source for each instrument if freq = 0, this can happen when automatically # setting frequencies from choppers.