Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > ARINC 653 for VxWorks 653 code > Generating an ARINC 653 configuration and VxWorks 653 application starup code > Generating an ARINC 653 configuration and VxWorks 653 application startup code (ARINC for VxWorks code)
  
Generating an ARINC 653 configuration and VxWorks 653 application startup code (ARINC for VxWorks code)
This topic provides brief instructions for using ACS to generate an ARINC 653 configuration and VxWorks 653 application startup code. For more information, see Overview of ACS (ACS).
To generate an ARINC 653 configuration and application startup code:
1. If you have not done so already, add the ACS Profile to your model. See Adding the ARINC 653 for VxWorks 653 and ACS profiles to a model (ARINC for VxWorks code).
2. If the ACS/TDK Control toolbar is not shown, on the View menu, point to Toolbars, and then click ACS/TDK Control.
The ACS/TDK Control toolbar displays Not Connected.
3. Load ACS: on the ACS/TDK Control toolbar, click the Load or Unload ACS button, and wait for ACS to load.
After ACS is loaded, the ACS/TDK Control toolbar displays Connected.
4. In Modeler, select the root item for the generation, that is, the Package that owns the Integration Project and Application Projects.
5. Create a Generation Settings Scheme for the selected Package:
a. On the ACS/TDK Control toolbar, in the drop-down list ensure that New Scheme is selected.
b. On the ACS/TDK Control toolbar, click the Edit ACS Scheme button.
Modeler opens the Launch ACS/TDK dialog.
c. Click the button associated with the Generator Dll box, and select the VxWorks653ApexGen Code Generator DLL. You must use the Code Generator DLL that matches the ARINC 653 profile in your model.
If you have installed Modeler to the default location, the supplied Code Generator DLL resides in the following folder.
For Windows 7 and later operating systems:
C:\Users\<user>\AppData\Roaming\ItsShadow\ScriptDir\VxWorks653\VxWorks653ApexGen
For 64-bit versions of pre Windows 7 operating systems:
C:\Program Files (x86)\PTC Integrity Modeler\Modeler\System\VxWorks653\VxWorks653ApexGen\
For 32-bit versions of pre Windows 7 operating systems:
C:\Program Files\PTC Integrity Modeler\Modeler\System\VxWorks653\VxWorks653ApexGen\
d. Click the button associated with the Target Directory box, and select the folder to which you want to generate the configuration XML and application startup code.
e. Click the button associated with the Settings File box, specify a name and location in which to save the Generation Settings Scheme, and then clickOpen.
f. Click Save Only, and then clickCancel.
6. On the ACS/TDK Control toolbar, click the Start toolbar button.
The ACS/TDK Control toolbar displays Loading Model, followed by either First Generation or Updating Code, followed byReady.
7. If this is the first time you have used the Generation Settings Scheme to generate code, no code is generated at this point. To generate code the first time, you must force a generation:
a. Ensure that the ACS/TDK Control toolbar is displaying Ready.
b. On the ACS/TDK Control toolbar, click the Force Generate button.
c. From the confirmation dialog, click Yes.
ACS generates the configuration XML and application startup code to the target folder you specified in the Generation Settings Scheme.