if I use the spreadsheet report: see "preferences.upf" section Data Log
Format File=$UserFilesDir$\Test Systems\ssfmtdef.ini Definition File=$UserFilesDir$\Test Systems\ssdsdef.ini
I get a field definition called "Serial#" in the datalogging configuration editor. This field writes the individual serial number of one DUT to its individual report >> Fine.
But why is this field not available in the xml-report configuration? There are Field Definitions called "TestplanUUTSerialNumber" and "SerialNumber". Both do not work!
Trying to add a new field in the xml-report called "Serial#" did also not work. I just copied the entry from ssdsdef.ini
Serial# s %"%s" UnDeFiNeD #49 1 NoSymRef This field is automatically updated with the value of the SerialNumber field of the System symbol table.
to the xml-field definition file TxSLSSFields.fdef. This caused two problems. At first the "#" conflicts with xml. And second, the field wasn't updated with the serial number.
Why are fields which are defined in the ssdsdef.ini updated automatically for the spreadsheet format, but they are not updated if they are in the xml-report? These fields are not referenced to a symbol table. Where do they reference?
TestExec do support multiplier serial number on datalogging. When you enable throughput multiplier setting on your testplan, the application will automatically create an array symbol for you to store different UUT position's serial number, you are not necessary to create your own array to store the multiple UUT serial number. You can find this pre-defined array type symbol from the SequenceLocal table, it labeled as UUTSerialNumbers. (Refer to Figure 1). You can directly update the UUTSerialNumbers from the symbol table or programatically update the UUTSerialNumbers during testplan execution.
In order to get the each UUT serial number show correctly in the log file, you need to place the right field to right record block. There are two serial number pre-defined fields on XML type log, SerialNumber and TestplanUUTSerialNumber. For throughput mulitplier, you are required to use TestplanUUTSerialNumber and place it under the LogTestplan record. (See Figure 2)
NOTE: You cannot simply mix around the fields from different log file type. Each log type have their own functions and formats.