Generating LSAR Files
You can generate LSAR files from data in the FMEA, Maintainability, and Prediction modules if these modules are in use and you have the necessary permissions.
* 
To be able to generate an LSAR file from FMEA data, a component FMEA must be active in the System file. This is because LSAR files are based on part numbers.
1. If you want to write data to LSAR records for only the active assembly, select this assembly in either the FMEA Tree Items table or the System Tree Items table.
2. Select System > Generate LSAR File. The Generate LSAR File window opens.
* 
Your selections for LSAR generation are saved in the System file. This means that the values indicated in this procedure as the defaults are only the defaults the first time you generate an LSAR file for the System file.
3. For Include records in, indicate which assemblies you want to include in the LSAR file. Choices are:
Entire System file. When selected (default), LSAR records are generated for all assemblies.
Selected assembly. When selected, LSAR records are generated for only the active assembly.
4. For Product module, select the module with the data you want to write to LSAR records. Possible choices are FMEA, Maintainability, and Prediction, However, choices are limited to the modules in use.
Several options in the Generate LSAR File window are available only when creating LSAR records from a component FMEA. If an option is unavailable, go to the next step.
5. For Alternate LCN (ALC), indicate how to assign ALCs to records created from a component FMEA. One ALC can be entered per FMEA. The first choice, < Use default value ‘00’> is the default. However, other choices are all numeric, text, and memo, fields in the FMEA Table. If you select a field, its first two characters are used for the ALC.
For a numeric field with values between 0 and 99, the value is used. If the value is only one character, a zero is placed in front of it so that it has two characters. If the value is a decimal, it is truncated and padded on the left with zeros so that it is has two characters. If the value is outside of the range, then 00 is used.
For a text or memo field, the first two characters are used. If there is only one character, a zero is placed in front of it so that there are two characters. If there are no characters, two zeros are placed in front of it so that there are two characters.
If Alternate LCN (ALC) is tied to a list, the display value for the list item is treated like a text or memo field.
If either of the first two characters is not an English alphanumeric character, then 00 is used.
6. For LCN type, indicate how to assign the type. The first choice, < Use default value ‘P’ > is the default. However, other choices are all text and memo fields in the System Tree Items table, excluding any special fields.
If you select a field, the first character is examined. If the field is tied to a list, the first character of the display value for the selected item is examined. If this first character is either an uppercase or lowercase ‘F’ or ‘P’, then the uppercase version of the letter is used. If an ‘F’ or a ‘P’ is not present, the default value of ‘P’ is used. Your Windows language setting does not affect this option. An ‘F’ or ‘P’ is always used for each FMEA Tree item exported to the LSAR file.
7. For Flight hour measurement base, enter the single character you want shown in column 63 of Table BD to represent the failure rate units for records created from FMEA data. While the default is ‘H’ for hours, you can enter any English alphanumeric character. For more information, see FMEA Item Table BD.
8. For System description , select a text or memo field to assign to records created from FMEA data.
Table BB must contain a system description. The choices are all text and memo fields in the System Tree Items table, excluding any special fields. The default is the Description field, which might be assigned a custom prompt in the Project’s Data Definition file. This default choice is a text field, which is limited to 255 characters. If you select a memo field, your descriptions can be as long as 65kB. In this case, the text is broken into 65-character blocks and is printed over many lines, which can slow down file generation. For more information, see FMEA Item Table BB.
9. For Mode number, indicate how to assign mode values to records created from FMEA data. The first choice, < Automatically generated > is the default. When it is selected, number are assigned as follows: 001, 002, 003, and so on. However, other choices are all text, memo, and number fields at the mode data level.
If you select a field, the first three characters in the field are assigned.
If the field contains more than three characters, only the first three characters are used.
If the field contains no characters, spaces (blanks) are used.
If the field is no longer at the mode data level because changes were made to the Project’s FMEA Design file, spaces are used, and a warning is generated.
10. For Include Fault Isolation data, indicate whether to include fault isolation data in the LSAR file. If this checkbox is selected (default), fault isolation data is outputted.
11. For Update code, specify the single alphanumeric character to write to the LSAR record as the first character. If desired, you can leave this field blank.
12. For End item acronym code , specify the value to write to characters 5 through 14 in the LSAR record.
13. If you want records to be padded to their maximum allowed length, select the Pad records to full length checkbox. The record length appears in the MIL-STD-1388 2B LSAR document.
14. For LSAR output file name, specify the name of the LSAR file to create. The default directory is the My Windchill Risk and Reliability Files folder for this release in your local documents folder. You can use the field’s browse button to open the Save As window, where you can navigate to a different directory.
15. Click OK.
The LSAR file is generated. If any issues are encountered, a window opens, asking if you want to view them. If you click No, the window closes. If you click Yes, the Error Log window opens. This status information window displays all issues encountered during file generation.
When an LSAR file generated from FMEA data, the following conventions are used:
An X is used to designate any FMEA record that applies to all mission phases.
The conversion factor value is 0001.
Only one failure rate is exported for each combination of the following three fields: LCN, Mission Phase, and Severity. This means that the failure rate results are summed for all FMEA Worksheet records that are against the same LCN (or FMEA Tree Items record) with the same mission phase and severity.
For Tables BB, BJ, and BG, narrative text sequencing codes are padded to the left with zeros instead of blank spaces. In the table, this field occurs between the fields with the narrative code and the narrative.