On most of the Web Tools which can process multiple shots, you may specify a range of shots (e.g., 112300-112310), or give a shot number and indicate you want the n shots before or after it (e.g., 112300-5 or 112300+10). You may use 0 for the current shot, so to plot the last 10 shots, you would enter 0-9.
The Web Tools use the IDL routine mk_shotlist.pro to parse the input string. Some examples:
IDL> print,mk_shotlist('112300+3') 112300 112301 112302 112303 IDL> print,mk_shotlist('112300-4') 112300 112299 112298 112297 112296 IDL> print,mk_shotlist('0-3') ; the last 4 shots 113862 113861 113860 113859 IDL> print,mk_shotlist('112300-112302 112305+2') 112300 112301 112302 112305 112306 112307 IDL> print,mk_shotlist('107694 108305 108330-108332') 107694 108305 108330 108331 108332 ; you can have a repetition factor for a shot ; (useful for IDL> print,mk_shotlist('138846-2 4(138847)') 138846 138845 138844 138847 138847 138847 138847The signal and scope plotting tools can now plot more than 5 shots if a shot range is used. By default, there are only 5 colors which will wrap around for each set of 5 shots.You may override this by specifying "Color Indices for Lines" IDL-compatible format.
You may wish to copy and paste shots from the
NSTX XP Lists
or choose shots from
searching the comment fields in the NSTX Logbook.
In Web Tools, you may enter 0 for last shot and a blank for next-to-last.
Note that these operations read full signals directly from the MDSplus tree, rather than scalars from a relational database, which would be more efficient. Please access parameter from small trees, like WF or EFIT, when possible. And especially: PLEASE LIMIT SEARCHING OR PLOTTING 1000's OF SHOTS TO TIMES WHEN NSTX IS NOT RUNNING. If you have an application more suited to a database, please send email to dbadmin@pppl.gov.
If you have comments about this page, please send e-mail to nstxops