UEDefault_x
The
UEDefault_x
item returns the default value for the x
th unacknowledged prompt in the unacknowledged prompts list.This table shows the input and output formats for this item.
Input Format | Request: UEDefault_ <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 UEDefault_x item requires the batchsvr.ini file to contains 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 UEDefault_x item returns in this format: <DefaultValue> | ||
where: | |||
Field Name | Format | Description | |
<DefaultValue> | ASCII - String | The default value assigned to the parameter which issued the unacknowledged prompt. |
This table is an example of an unacknowledged prompts list containing two unacknowledged prompts:
Time | Batch ID | Desc | Value | Area | Unit | Phase |
2/24/2022 2:33:45 PM | BATCH_99 | Charge_Amount | 35 | AREA1 | UA_1 | P1 |
2/24/2017 2:34:06 PM | BATCH_100 | Hold_Time | 5 | AREA1 | UA_2 | P44 |
This table shows an example of the return on this request.
Example: | For the default value of the prompt in the first row of the unacknowledged prompts list, advise on object . GetItem(UEDefault_1) would return:35 |
Provide Feedback