CALL ai.set.ctl (index, value)

 

Function

Operator interface routine to change the value of the AIM control variables ai.ctl[ ] and rn.ctl[,].

Usage Considerations

This routine should be called only from the operator interface task.

Input Parameters

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.

Output Parameters

None.

Global Variables

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.

Details

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.

NOTE: The operator interface task may freely read the values in the array ai.ctl[ ], but the interface should never modify the values directly. The operator interface task should never access the array rn.ctl[,].

Related Routines

ai.get.rn.ctl (ti, index, value)