UserCode Blocks
Linking Handwritten UCBs with AutoCode Applications
© National Instruments Corporation
External_Input( )
the software data bus.
SCHEDULER_STATUS
External_Output( ) Procedure
procedure External_Output(Bus: in RT_REAL_ARRAY;
YE_PTR: in RT_INTEGER;
NUMOUT: in RT_INTEGER;
SCHEDULER_STATUS: out INTEGER)
is for use in simulation comparison mode. It
External_Output
places output data values into an output pool in memory. In the target
version of
sa_utils.a/.ada
is much the same; it posts an output vector to the software data bus.
External_Output( )
which is passed to it by the scheduler.
This section describes how to link UserCode Blocks (UCBs) with
AutoCode or SystemBuild applications.
To write the implementation code for UserCode Blocks (UCBs), refer to
the
sa_user_.a/.ada
in your
directory. These files contain an example of the declaration of
src
the calling sequence described in the
more copies of these files and insert your code that implements the
functionality of the UCBs. You can place one or more uniquely named
UCB code procedures inside each copy of the
files and give the copies any convenient names. If you
sa_user.a/.ada
include renamed files, place the names in the stand-alone file compilation
script (
compile_ada_sa.sh
The computations performed by UCBs can update both block states and
outputs.
is much the same; it returns an input vector from
External_Input( )
, which is passed to it by the scheduler.
, the operation of
returns the value of
and
sa_user.a/.ada
Calling UCBs
) for automatic compilation.
3-11
Chapter 3
Ada Language Reference
returns the value of
External_Output( )
SCHEDULER_STATUS
files, which are provided
section. Make one or
sa_user_.a/.ada
AutoCode Reference
,
and
Need help?
Do you have a question about the AutoCode NI MATRIX and is the answer not in the manual?
Questions and answers