operating and settling times, is efficiently used to perform some initialization for the forthcoming next operation of ERROR.MLP. Upon completion of the transfer, which results in the stimulus position update, the program returns to a postinitialization entry point in ERROR.MLP for processing the next position sample data in the trial.
Preconditioning for D/A conversion is accomplished by the utilization of numerical constants in the equation variables as follows. An angle expressed in radians can be converted to the proper form by multiplying it by the factor J where
J = 180/pi (degrees/radian) x 4096/32 (digital levels/degree)
x 4 (effects two left shifts of a binary number)
= 29335.439
In equation (28), the value of T on the left side would then be in the proper form if C (the initial position correction factor) already was in that form, and the term G*T was multiplied by J. This C (the initial position correction factor) would be in the proper form if in equation (27), C on the right side (the initial stimulus position) already was in that form, and the term G*T was multiplied by J. Since the stimulus is initially centered on the screen by DSTIM.BAS, the initial stimulus position, C, in the proper form, is 160 x pi/180 (radians/degree) x J = 8192. This numerical value for C is assigned by DSTIM.BAS before the beginning of the trial. The multiplication of the term G*T by J in both equations (27) and (28) is accomplished (as was
..