SICS-646: Restore histogram command to hdb tree.

Instruments which don't have a histogram should add
"set no_histmem true"
to the top of their instrument config file before the commands_common
file is sourced.
This commit is contained in:
Ferdi Franceschini
2013-07-28 22:10:34 +10:00
parent 35b1758715
commit 38d915cc6a
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
namespace eval commands { }
proc ::commands::ic_initialize {} {
if {[info procs "histmem" ] != ""} {
if { ![info exists ::no_histmem] || ($::no_histmem == false) } {
namespace eval ::histogram {
set NS [namespace current]
variable parameters

View File

@@ -16,7 +16,7 @@ plc_simulation true
########################################
# INSTRUMENT SPECIFIC CONFIGURATION
set no_histmem true
fileeval $cfPath(source)/source.tcl
source $cfPath(hipadaba)/hipadaba_configuration.tcl