Before generating code, you may wish to run Check Profile to verify that the profile complies with the scoping rules. For example, Check Profile makes sure that the settings are legal and do not conflict with each other. The Code Generator also checks the profile when you generate code.
Complete the following steps to check the profile and generate code.
1.
|
Select Compile > Check Profile.
|
2.
|
Select Compile > Generate Code.
|
3.
|
Select Compile > File Management. The SW Code Management dialog appears
|
File Management offers the following options:
●
|
Show—Displays a listing of the generated code.
|
●
|
Delete—Deletes the selected file.
|
●
|
Copy—Copies the selected file after you re-name it. (Works the same way as Save as in the File menu.)
|
●
|
Export—Saves the file to another workarea or directory.
|
●
|
Print—Prints the generated code.
|
●
|
File > Close to close this profile and leave the Profile Editor open.
|
●
|
File > Exit to close this profile and close the Profile Editor.
|
The Profile Editor automatically closes any related windows that you left opened and displays a dialog asking if you want to save any unsaved changes to the profile.