TDIC

TDIC is distributed with MDSplus, and is probably the easiest way to test TDI.

On VMS, place this in your LOGIN.COM file, if it is not already defined for you:

   $ TDIC:== $MDS$MITROOT:[SYSEXE]tdic.exe
Run this and enter your TDI directly, after opening a tree. (TCL commands can be run from TDIC -- this can be used to open a tree. The WF tree is used in the following example).
   $ TDIC
   TDI> tcl set tree wf/shot=104500
   TDI> tcl dir 
     (listing of all first-level subnodes in this tree)
   TDI> help
   TDI(C) reference (March 1994)
	 help func 
	 help func* 
	 use func* 
	 type func(*) 
	 tcl 
	 open 
	 !
	 man [TDI intrinsic]
	 exit (guess)
	 ; behaves as in MatLab
After the tree is opened, TDI commands can be entered directly at the command line:
   TDI> current_shot("NSTX")
      106528
   TDI> mean([1,2,3,4.])
       2.50000E0
Edited: Aug-2001
by: Bill Davis