CALL ai.set.ctl (index, value)
This routine should be called only from the operator interface task.
index Real value specifying the control variable to be changed. Normally this is one of the standard global control variables named cv.*, which are defined in the routine ai.cu.define( ) or in the custom routine cu.cv.define( ).
value Real value specifying the new value to be placed in the control variable.
ai.ctl[ ] Real array that is accessed by the operator control task to interface with the runtime tasks. This array is indexed by the standard global control variables named cv.*.
rn.ctl[,] Real array that is accessed by the runtime task to interface with the operator control task. This array tracks the values of some elements in ai.ctl[ ]. The left hand rn.ctl[,] index value is determined by the task index in the global variable ex.ti which is set by the operator control panel routines when a task is selected.
This routine should be called to modify the values of elements in the array ai.ctl[ ], and to update the corresponding elements in the array rn.ctl[,], if necessary. See Indexes for rn.ctl[,] and ai.ctl[ ] for further information.