Open a command console and cd to /usr/local/dnb/engr/
Type IDL to run IDL.
Type @DNB_COND_RUN to start the IDL widget.
This will bring up two windows with a number of boxes in them.
They
are titled "DNB Conditioning" and "DNB Tree". The DNB
Conditioning window
controls the Conditioning Shots. The DNB Tree window provides an
interface
to the DNB timing parameters in the DNB Tree in MDSPlus.
DNB Conditioning Window:
The next to bottom row is for diagnostic output. The message
displayed
should change every time a parameter is changed by the user. If a
change
is made and the message does not change, then the parameter has not
been changed
in the program (no actual change).
The bottom row is the quit command which quits the program and returns
to
the IDL command line.
1st (Top) Row:
C-Mod State Information (display only):
This is in the first box on the left
CMOD Shot is the Current C-Mod Shot number. If no shots have been
taken
for the current day, shot zero for the day will be displayed.
At the right of this box is the current C-Mod state. If C-Mod is
not
running, the message "Not Active" will be displayed. The C-Mod
State
is obtained from the MDS_EVENT CMOD_COUNTDOWN_EVENT.
The time is the elapsed time since the last state change detected by
the program
or, if no state change has been detected, the elapsed time since the
program
was started.
The next three boxes are numeric inputs. The numbers may be
changed
by selecting a number and entering a new value. After one of the
numbers
has been changed, Return or Enter MUST BE TYPED for the change to be
passed
to the program.
"DNB Shot" shows the current DNB Conditioning Shot number.
This
number is used to create the next DNB Conditioning Shot Tree. If
"Shot
Inc" is On (2nd row), the number will be incremented by the program
before
the next Conditioning Shot.
"DNB Cycle" is the minimum time (seconds) between the start of
DNB
Firing cycles.
"Read Wait" is the time (seconds) the program waits after
requesting
the DNB_START timing highway event before starting to read the CAMAC
data.
2nd Row:
The box under each label is a "Drop-Down" operating mode
selection.
Position the cursor in the box, do Left-Mouse Button down, position the
cursor
over the desired mode, and release the mouse button to change the
operating
mode.
"Prog Mode"
Watch: Program only watches DNB operation and C-Mod
state.
Control: Program controls DNB operation.
Control must
be selected before many of the following operating options may be
selected.
Only one program can control.
"Cmod DNB"
OFF: DNB will not be fired during the next C-Mod
Shot.
The program turns the DNB CAMAC modules in the Model Tree OFF during an
ON-to-OFF
transition.
ON: DNB will be fired during the next C-Mod
Shot.
The program turns the DNB CAMAC modules in the Model Tree ON during an
OFF-to-ON
transition.
"Cond Mode"
WATCH: The program will display the state of the DNB
Cycle
and enable "Pulse DNB" when the DNB Cycle timer has expired.
AUTO: The program will display the state of the DNB
Cycle
and automatically start the next DNB Firing cycle when the DNB Cycle
timer
expires (if a C-Mod shot is not in progress).
"Shot Inc"
OFF: Do not increment the DNB Shot number before the
next
Conditioning shot. If multiple DNB shots are taken with the same
shot
number, the older shot is deleted. This saves disk space when
doing
tests where only the most recent shot is useful.
ON: Automatically increment the DNB Shot number
before each
Conditioning shot.
"CAMAC"
OFF: Disable all Tree and CAMAC activity during DNB
Conditioning
shots. The program will go through the Conditioning shot
sequence, but
there will be no MDS activity.
ON: Enable normal Tree and CAMAC activity during DNB
Conditioning
shots.
TIME: Same as ON, plus show CAMAC timing information.
VFY: Same as TIME, plus show TCL commands.
3rd Row:
The box under each label is a "Drop-Down" operating mode
selection.
Position the cursor in the box, do Left-Mouse Button down, position the
cursor
over the desired mode, and release the mouse button to change the
operating
mode.
Log File
ON: Log program, shot, and camac information
into
a file for later use. The log file is overwritten at each Off to
ON
transition.
OFF: Do not use the log. The default state for
this
parameter when the probram is started is OFF.
BES
ON: Acquire data for the BES system during
conditioning
shots
OFF: Do not acquire data for the BES system during
conditioning
shots.
The state of this button does not affect data acquisition during C-Mod
shots
MSE
ON: Acquire data for the MSE system during
conditioning
shots
OFF: Do not acquire data for the MSE system during
conditioning
shots.
The state of this button does not affect data acquisition during C-Mod
shots
SPEC
OFF: Do not acquire data for the MCD system during
conditioning
shots.
SPEC: Acquire data for MCD system in free running mode
OMA: Acquire data for the MCD system in programmed
mode
The state of this button does not affect data acquisition during C-Mod
shots
4th Row:
One Button and three status display fields.
Pulse DNB: Click this button to start a DNB
Conditioning
shot. If the button is gray/dim, the button is not active and a
DNB
Conditioning shot cannot be started. The button will be inactive
if
the program does not control, if a C-Mod shot is in progress, of if the
DNB
Cycle timer is active.
Status Field 1: Shows the current State of a DNB
Conditioning
shot.
Status Field 2: Shows the current State of the DNB
Cycle.
After a DNB Conditioning shot, this field will show the countdown to
the start
of the next allowed DNB Conditioning shot. If "Prog Mode" = AUTO,
the
next Conditioning shot will start when the countdown reaches zero.
Status Field 3: ??????
5th Row:
Six status display fields.
Field 1: Time of day
Field 2: ????
Field 3: ????
Field 4: ????
Field 5: ????
Field 6: ????
6th Row:
????
DNB Tree Window
The bottom row is for diagnostic output. The message displayed
should
change every time a box in the next to bottom row is clicked.
The boxes in the top two rows contain the values of the primary DNB
timing
parameters. The numbers may be changed by selecting a number and
entering
a new value. After changes are made, click "Read Input" to read
the
values in the boxes into the program. Changes are not actually
implemented
until the "Read Input" and "Write Tree" boxes are clicked.
1st Row
Beam On: Time relative tto T0 at which the beam is to be fired
Beam Length: Length of the beam pulse
Beam Delay: Delay in the local beam control between receipt of
the beam
fire signal and the firing of the beam
2nd Row
DNB_CHECK: ??????
GV Prepulse: Opening time of the gate valve prior to beam on
GV Postpulse: Closing time of the gate valive after beam on +
beam pulse
3rd Row
Plot Shot: Specifies the number of the shot for which the timing is to
be
displayed
SRC_NV: not in use. Should be changed to cathode pressure
for
logging of the regulator setting
NEU_NC: not in use. Should be changed to anode pressure for
logging
of the regulator setting
4th Row:
"Read Input": Click this box to read the contents of all the
above boxes
into the program.
"Write Tree": Click this box to write parameters that have been
changed
in the program to the DNB Tree. Be sure that "Read Input" has
been clicked
so that the parameter values in the program are current.
"Read Tree": Click this box to read parameters from the DNB
Tree.
The parameters in the above boxes are updated to match the values read
from
the DNB Tree.
"Set Default": Click this box to set the parameters in the DNB
Tree
and in the above boxes to their default values. The file
DNB_TREE_RW.PRO
defines the default values.
5th Row
"Plot J221s": Click this box to make/update plots of the J221
output
setup.