ASM_Manual_TQSeries_VerificationAndTraceability_03233976_online.pdf - 第22页

1 VERIFICATION AND TRACEABILITY 1.5 TRACEABILITY FILE CONFIGURATION 22 STANDALONE MANUAL VERIFICATION AND TRACEABILITY TQ SERIES 07/2020 1.5 TRACEABILITY FILE CONFIGURATION The tsv.xsl file, located in E:\Config\Traceabi…

100%1 / 32
1 VERIFICATION AND TRACEABILITY
1.4 TRACEABILITY
STANDALONE MANUAL VERIFICATION AND TRACEABILITY TQ SERIES 07/2020 21
10. Select Accept.
NOTE
To delete a user defined field, select the ‘-‘ sign to the right of the field.
11. Select Save And Exit.
12. Select Save And Exit.
13. Select Exit.
1 VERIFICATION AND TRACEABILITY
1.5 TRACEABILITY FILE CONFIGURATION
22 STANDALONE MANUAL VERIFICATION AND TRACEABILITY TQ SERIES 07/2020
1.5 TRACEABILITY FILE CONFIGURATION
The tsv.xsl file, located in E:\Config\Traceability\TraceabilityViews, contains the definitions that
define the naming convention of the new *.tsv traceability file. These definitions can be edited to
change the naming convention and also the parameters that define when a new traceability file
should be created.
The following two examples explain the concept.
1.5.1 Example 1: Parameters
The following illustration shows the creation of the *.tsv traceability file using only the ProductName
parameter from the LastBoard.xml file:
In the example above, the following section of the tsv.xsl file defines the building blocks for the *.tsv
file name:
<SaveAs>
<xsl:value-of select=“ProductName/Value”/>.tsv
</SaveAs>
1 VERIFICATION AND TRACEABILITY
1.5 TRACEABILITY FILE CONFIGURATION
STANDALONE MANUAL VERIFICATION AND TRACEABILITY TQ SERIES 07/2020 23
The line between the SaveAs tags instructs the XSLT procedure to locate the parameter Product-
Name in the LastBoard.xml file, and use its <Value> to name the file. This value also defines when
a new tsv file should be created, all the print information for boards will be stored in the same tsv
file until a different product (having a different ProductName/Value) is printed.
1.5.2 Example 2: Template
The following illustration shows the creation of the default file:
“ProductName”-“DateTime”-“MachineSerialNo.”.tsv:
In the example above, the use of ProductName and MachineSerialNo. to call their values from the
LastBoard.xml file works in the same way as the previous example. Use of the DateTime para-
meter is also required, the value in the LastBoard.xml file is stored in the UK format Day-Month-
Year but the user would like it in Year-Month-Day format. This can be achieved by creating a set of
template rules outside the <SaveAs> section of the tsv.xsl file.