mdsplus
mdsplus copied to clipboard
Can not get/set current shot over thick client with default_tree_path
trafficstars
When default_tree_path specifies a thick client, and that client also uses default_tree_path, you can not from the remote machine either get or set the current shot of the tree:
on the computer marte2:
jas@marte2:/trees/models/bagel$ echo $default_tree_path
alcdaq6::
jas@marte2:/trees/models/bagel$ mdstcl
TCL> set tree sparc
TCL> dir
\SPARC::TOP
BAGEL
Total of 1 node.
TCL> show db
000 SPARC shot: -1 [\SPARC::TOP]
TCL> sho current sparc
Failed to get shotid.
on alcdaq6
[jas@alcdaq6 sparc]$ echo $default_tree_path
/cmod/trees/test/~t/;/cmod/trees/new/~t/;/cmod/trees/models/~t/;alcdata-archives::/cmod/trees/archives/~i~h/~g~f/~e~d/~t;/cmod/trees/saved/~t/
[jas@alcdaq6 sparc]$ mdstcl
TCL> sho current sparc
Current shot is 211109100
TCL> set current sparc /inc
TCL> sho current sparc
Current shot is 211109101
TCL> set tree sparc
cTCL> create pulse 0
set tree sparc /shot=0
dir
TCL> set tree sparc /shot=0
TCL> dir
\SPARC::TOP
BAGEL
Total of 1 node.
TCL>
I have not investigated if this is a general thick client problem or related the either of the 'default_tree_path' definitions.