Merge from Wombat, except sics_config.ini
Conflicts: sics/site_ansto/instrument/config/environment/magneticField/sct_green_magnet.tcl sics/site_ansto/instrument/config/environment/temperature/sct_lakeshore_336.tcl sics/site_ansto/instrument/config/environment/temperature/sct_oxford_mercury.tcl sics/site_ansto/instrument/config/hmm/hmm_object.tcl sics/site_ansto/instrument/hipd/config/commands/eulerscan.tcl sics/site_ansto/instrument/hipd/config/motors/motor_configuration.tcl sics/site_ansto/instrument/hipd/util/sics_config.ini sics/site_ansto/instrument/server_config.tcl
This commit is contained in:
@@ -57,15 +57,20 @@ Publish histmem_period_single User
|
||||
#
|
||||
#}
|
||||
|
||||
proc histmem_period_sequence {Np} {
|
||||
proc histmem_period_sequence {Np Nt} {
|
||||
global n_periods
|
||||
set n_periods $Np
|
||||
FAT_TABLE -set NOS_PERIODS $Np
|
||||
BAT_TABLE -set PERIOD_INDICES { 0 } NO_BAT_ENTRIES 1 NO_BAT_PERIODS 1 NO_REPEAT_ENTRY 1 NO_REPEAT_TABLE 1 NO_EXECUTE_TABLE $Np
|
||||
#FAT_TABLE -set NOS_PERIODS $Np
|
||||
#BAT_TABLE -set PERIOD_INDICES { 0 1} NO_BAT_ENTRIES $Np NO_BAT_PERIODS $Np NO_REPEAT_ENTRY 1 NO_REPEAT_TABLE 1 NO_EXECUTE_TABLE 1
|
||||
OAT_TABLE -set T {0 $Nt} NTC $Np
|
||||
FAT_TABLE -set FRAME_BUFFER DISABLE
|
||||
histmem clockscale 1000000
|
||||
histmem loadconf
|
||||
histset_XYperiod
|
||||
# newfile HISTOGRAM_XYT
|
||||
}
|
||||
|
||||
|
||||
|
||||
proc histmem_period_sequence_off {} {
|
||||
global n_periods
|
||||
set n_periods $Np
|
||||
|
||||
Reference in New Issue
Block a user