From the Setup K-Field Configuration dialog box, in the Value From column, select RUNTIME_XML for the desired K-field from the list. PC-DMIS then reads the value of the K-field from the <RoutineName>.runtime.xml file. This option provides the flexibility to read the K-field value from any external application.
An external application needs to set the specific data. For example, the tool number used for manufacturing needs to generate the <RoutineName>.runtime.xml file and place it in the same folder as the measurement routine.
The <RoutineName>.runtime.xml file records the parts data and characteristics data. The characteristics data is identified from its PCD-ID that you can view in Q-DAS Configurator. If the value applies to all the characteristics data, you can type the following in the <RoutineName>.runtime.xml file:
PCDID="*"
Where "*" indicates the value that applies to all the characteristics data.
The format of the file looks like this:
<QDASRuntimeData> <Part> <K1021>00001</K1021> <K1022>HexagonAB</K1022> <K1041>Drawing-0-88-333</K1041> <K1081>Machine-11</K1081> <K1082>Global-S 7101</K1082> <K1230>Test Lab-001</K1230> </Part> <Characteristics> <Characteristic PcdId="*"> <K2401>Gage # 123</K2401> <K2402>Gage 123</K2402> </Characteristic> <Characteristic PcdId="LOC1.X"> <K2802>Tool#1</K2802> </Characteristic> <Characteristic PcdId="LOC1.Y"> <K2802>Tool#1</K2802> </Characteristic> <Characteristic PcdId="LOC1.Z"> <K2802>Tool#1</K2802> </Characteristic> <Characteristic PcdId="LOC1.DF"> <K2802>Tool#1</K2802> </Characteristic> <Characteristic PcdId="LOC2.X"> <K2802>Tool#2</K2802> </Characteristic> <Characteristic PcdId="LOC2.Y"> <K2802>Tool#2</K2802> </Characteristic> <Characteristic PcdId="LOC2.Z"> <K2802>Tool#2</K2802> </Characteristic> <Characteristic PcdId="LOC2.DF"> <K2802>Tool#2</K2802> </Characteristic> </Characteristics> </QDASRuntimeData>