Advent Instruments Inc.
4. Programming
All of the projects are listed on the left side of the window. Clicking on any of them
shows the settings specific to that project. For this example project a brief description of
each setting follows:
Target Device Settings:
Compile to:
Determines what hardware device the compiler creates object
code for. In this example, it is the AI-7280.
Execute on:
Sets which hardware device the object code is executed on.
TRsSim can connect with up to four devices, each labeled A
through D. In this example the compiled program will
execute on device 'A', which is an AI-7280.
Compiler Settings:
Startup process name:
The name of the process block where execution begins. If
there is only one process block in the program the name in
this field does not matter. However, if there are more than one
process blocks then this field determines which one is
executed on program start.
Startup process number:
Sets which one of the 6 program execution units (PEUs)
within the AI-7280 is used to execute the program.
Access system properties:
If checked, the compiler allows reading or writing to various
system related HAL properties. Otherwise the compiler
reports an error. Caution must be exercised when using any
AI-7280 system related properties as it can interfere with the
TRsSim software's control over the AI-7280.
Optional Settings:
Reset settings on start:
If checked TRsSim ensures that before program execution is
started all of the AI-7280's HAL properties are set to match
either the current TRsSim settings, or the power up default
AI-7280 Programmers Guide - Direct Control
83