Chapter 3 Ada Language Reference
AutoCode Reference 3-10 ni.com
These messages indicate that the sizes of the time vector and input array
have exceeded one or more of the storage allocation size limits established
by sa_utils.a/.ada. These limits are established as constants at the
very beginning of the stand-alone utilities file, just after the trademark
notice. Refer to the comments in the file and adjust the limits accordingly;
then recompile and relink the utilities file. If the input time vector size is
adjusted, the output time vector must be adjusted to maintain its size as
twice the input time vector. As a rule of thumb, the maximum input values
should be equal to the maximum output values, plus the maximum time
outputs.
*** Output storage exceeds storage limit.
The size of the input file has exceeded the storage allocation size limits
established by sa_utils.a/.ada. This limit is established as a constant
along with the input size limits discussed previously. Refer to the
comments at the beginning of the file and adjust the limits accordingly,
and then recompile and relink.
Implementation_Terminate( ) Procedureprocedure Implementation_Terminate
In the default simulation comparison version of the sa_utils.a/.ada
file, this procedure completes the I/O processing for the execution of the
system by writing output data to the output file and closing the file.
You can write a version of this routine to make the generated code work
with the target computer. In addition to data completion tasks, this routine
can be called upon to perform many kinds of implementation-specific
shutdown processes for the real-time system. These include:
• Freeing up shared memory and other resources
• Completing the posting of all outputs
• De-initializing I/O hardware
External_Input ( ) Procedureprocedure External_Input(Bus: out RT_REAL_ARRAY;
UE_PTR: in RT_INTEGER;
NUMIN: in RT_INTEGER;
SCHEDULER_STATUS: out INTEGER)
External_Input( ) is for use in simulation comparison mode.
It samples input data values from an input pool previously loaded into
memory. In the target version of sa_utils.a/.ada, the operation of