System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 9/26/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

1.1.173. system_get_values

Description

Retrieve the values of the specified key in the system's SOPCINFO file

Usage

system_get_values <service-path> <key> [<key...>]

ReturnType

String[]

Returns

Arguments

service-path
System service path (from "get_service_paths system")
key
Key mapped to attribute or sub-element
key... (optional)
Key(s) mapped to attribute(s) or sub-element(s)

Example

Given a SOPCINFO file with the following content:
	<EnsembleReport>
	  ...
	  <parameter name="param_a">
	    <type>java.lang.String</type>
	    <value>value_a</value>
	    <derived>false</derived>
	    <enabled>true</enabled>
	    <visible>true</visible>
	    <valid>true</valid>
	  </parameter>
	  <parameter name="param_b">
	    <type>java.lang.String</type>
	    <value>value_b</value>
	    <derived>false</derived>
	    <enabled>true</enabled>
	    <visible>true</visible>
	    <valid>true</valid>
	  </parameter>
	  ...
	</EnsembleReport>
Command:
	system_get_values /designs/top.sof/system.sopcinfo parameter
Result:
	param_a param_b
Command:
	system_get_values /designs/top.sof/system.sopcinfo parameter:param_a
Result:
	value_a