(for access from a remote Unix node, this is by convention your VAX username)
EUROPA$ define yourname$data yourname$:[mds.testdata]
(the directory can be anything you have write access to )
An easy way is to copy an empty template:
EUROPA$ copy autil:[mdsplus.emptytree]emptytree_model.* -
yourname$data:yourname_model.*
NOTE: If you want to access this test tree from
Unix, this logical
name must be a SYSTEM logical name on EUROPA.
Send email to
nstx_sw_dev@pppl.gov if you need
to access your private MDSplus tree from UNIX.
To find an existing model tree from which to start, see How to find the files of an MDSplus Tree
EUROPA$ setup mdsplus
EUROPA$ traverser -tree yourname -shot -1 -edit
(shot -1 is the model tree)
In Traverser, select "TOP" with the mouse,
then select Edit...Add Node...Signal.
Enter a Node Name, say onedim.
Quit Traverser while saving the tree.
Note that the "shot" number is actually just an ID number and need not be related to an actual shot. In fact, ID numbers for TRANSP runs are NOT shot numbers (there is a database that relates shots and ID numbers).
EUROPA$ tcl
TCL> set tree yourname
TCL> create pulse 10
TCL> exit
EUROPA$ idl
IDL> MDSOPEN, 'yourname', 10
IDL> x = FINDGEN(10) & data = x ^2
IDL> mdsput,':onedim','build_signal($,*,$)',data, x
EUROPA$ idl
IDL> MDSOPEN, 'yourname', 10
IDL> print, MDSVALUE(':onedim')
You may also examine the signal's contents in Traverser.
Comments can be mailed to
bdavis.
updated: 27-Mar-2007
by: Bill Davis