115 lines
3.3 KiB
Tcl
115 lines
3.3 KiB
Tcl
# Root (ie /) only provides the starting point for traversing the instrument dictionary.
|
|
#set instrument_name [string trim [lindex [split [instrument] =] 1]]
|
|
set instrument_name instrument
|
|
# / {
|
|
# children {commands graphics instrument experiment }
|
|
# property {data true control true nxsave true klass NXentry}
|
|
# }
|
|
|
|
# / Must be the first node in the list
|
|
set instrument_dictionary [subst {
|
|
commands {
|
|
sobj {macro command}
|
|
privilege spy
|
|
datatype @none
|
|
property {data false control true nxsave false klass @none type commandset}
|
|
}
|
|
graphics {
|
|
sobj {@any graphics}
|
|
privilege spy
|
|
datatype @none
|
|
property {data true control true nxsave false klass @none type graphset}
|
|
}
|
|
instrument {
|
|
sobj {@any instrument}
|
|
privilege spy
|
|
datatype @none
|
|
property {data true control true nxsave false klass NXinstrument type instrument}
|
|
}
|
|
instrument/status {
|
|
privilege spy
|
|
sobj {@any plc}
|
|
datatype @none
|
|
property {data false control true nxsave false klass @none type part}
|
|
}
|
|
instrument/detector {
|
|
privilege spy
|
|
sobj {@any detector}
|
|
datatype @none
|
|
property {data true control true nxsave false klass NXdetector type part}
|
|
}
|
|
sample {
|
|
privilege spy
|
|
sobj {@any sample}
|
|
datatype @none
|
|
property {data true control true nxsave false klass NXsample type part}
|
|
}
|
|
instrument/collimator {
|
|
privilege spy
|
|
sobj {@any collimator}
|
|
datatype @none
|
|
property {data true control true nxsave false klass NXcollimator type part}
|
|
}
|
|
monitor {
|
|
privilege spy
|
|
sobj {@any monitor}
|
|
datatype @none
|
|
property {data true control true nxsave false klass NXmonitor type part}
|
|
}
|
|
instrument/monochromator {
|
|
privilege spy
|
|
sobj {@any monochromator @any crystal}
|
|
datatype @none
|
|
property {data true control true nxsave false klass NXcrystal type part}
|
|
}
|
|
instrument/slits {
|
|
privilege spy
|
|
sobj {@any aperture}
|
|
datatype @none
|
|
property {data true control true nxsave false klass NXfilter type part}
|
|
}
|
|
user {
|
|
privilege spy
|
|
sobj {@any user}
|
|
datatype @none
|
|
property {data true control true nxsave false klass NXuser type part}
|
|
}
|
|
experiment {
|
|
privilege spy
|
|
sobj {@any experiment}
|
|
datatype @none
|
|
property {data true control true nxsave false klass NXnote type part}
|
|
}
|
|
data {
|
|
privilege spy
|
|
sobj {@any data}
|
|
datatype @none
|
|
property {data true control false nxsave false klass NXdata type part datatype UNKNOWN currentfiletype UNKNOWN}
|
|
}
|
|
data/data_set {
|
|
privilege spy
|
|
datatype @none
|
|
property {data true control false nxsave false klass @none type nxvgroup nxalias data_set link @none}
|
|
}
|
|
data/axis_1 {
|
|
privilege spy
|
|
datatype @none
|
|
property {data true control false nxsave false klass @none type nxvgroup nxalias axis_1 link @none}
|
|
}
|
|
data/axis_2 {
|
|
privilege spy
|
|
datatype @none
|
|
property {data true control false nxsave false klass @none type nxvgroup nxalias axis_2 link @none}
|
|
}
|
|
data/axis_3 {
|
|
privilege spy
|
|
datatype @none
|
|
property {data true control false nxsave false klass @none type nxvgroup nxalias axis_3 link @none}
|
|
}
|
|
data/axis_4 {
|
|
privilege spy
|
|
datatype @none
|
|
property {data true control false nxsave false klass @none type nxvgroup nxalias axis_4 link @none}
|
|
}
|
|
}]
|