Add Additional Info Function
- 更新时间2022-11-22
- 阅读时长1分钟
Add Additional Info Function
add_additional_info adds additional information to the data log as an INF column. This function can be used to document any details about the measurement. If information with the same name has already been added, the value of the existing information is replaced.
with run.Metadata() as data:
for mode in modes:
data.add_string_parameter("Mode", mode)
for software in testing_softwares:
data.add_additional_info("Testing Software", software)
| Parameter | Required? | Data Type | Description |
|---|---|---|---|
| info_name | Yes | String | Name of the information to add. If info_name is set to an existing value, this function overwrites the existing information. |
| info_value | Yes | String | Value of the information to add. |