UEUnit_x
The unacknowledged prompt in the unacknowledged prompts list.
UEUnit_x
item returns the unit for the x
thThis table shows the input and output formats for this item.
Input Format | Request: UEUnit_ <RowNumber> | ||
<RowNumber> | is | ASCII - Integer An array index. When an unacknowledged prompt generates, it adds to an array. If the unacknowledged prompts list is not sorted, then x is the row number of the unacknowledged prompt appearing in the unacknowledged prompts list. | |
The UEUnit_x item requires the batchsvr.ini file to contain this setting in the [CLIENT MGR DDE] section:MaxPromptTableLength = n where n is the maximum number of unacknowledged prompts accessible to this item (the maximum number of entries in the array). And, where 0 £ x £ MaxPromptTableLength . If the number of unacknowledged prompts in the unacknowledged prompts list is larger than n , then this item will only access the first n unacknowledged prompts in a non-sorted unacknowledged prompts list. When an unacknowledged prompt with an index of less than n is removed from the unacknowledged prompts list, all subsequent unacknowledged prompts will have their index decreased by one. The default value of MaxPromptTableLength is 0 (zero). | |||
Output Format | The UEUnit_x item returns in this format: <UnitName> | ||
where: | |||
Field Name | Format | Description | |
<UnitName> | ASCII - String | Name of the unit the phase originating the prompt is bound to. |
This table is an example of an unacknowledged prompts list containing two unacknowledged prompts:
Time | Batch ID | Desc | Value | Process Cell | Unit | Phase |
2/24/2022 2:33:45 PM | BATCH_99 | Charge_ Amount | 35 | PC_A | UA_1 | P1 |
2/24/2022 2:34:06 PM | BATCH_100 | Hold_Time | 5 | PC_A | UA_2 | P44 |
This table shows an example of the return on this request.
Example: | For the unit associated with the prompt in the first row of the unacknowledged prompts list, a request on object.GetItem(UEUnit_1) would return:UA_1 |
Provide Feedback