Extensions.DiagDataBrowsing.GetAllowedParameterValueList

From emotive
Revision as of 08:35, 6 February 2015 by Tl (talk | contribs) (→‎OTL Syntax)
Jump to navigation Jump to search

Classification

Name GetAllowedParameterValueList
Short Description Return list of all permissible values ​​of a parameter
Class Term
Extension OTX DiagDataBrowsing extension
Group DiagDataBrowsing terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm = DiagDataBrowsing.GetAllowedParameterValueList(ParameterTerm);

Description

GetAllowedParameterValueList returns a list of strings containing all allowable values ​​of a parameter.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
List Return list of all permissible values ​​of a parameter

Properties

Name Data Type Class Default Cardinality Description
Parameter Parameter Term - [1] The name of the request or response parameter

OTL Examples

List<String> List1;
DiagCom.ComChannel ComChannel1;
DiagCom.DiagService DiagService1;
DiagCom.Parameter Parameter1;
DiagCom.Request Request1;

ComChannel1 = DiagCom.GetComChannel("LL_AccesStartInterUDS", "", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu");
List1 = DiagDataBrowsing.GetRequestParameterList(DiagService1);
Request1 = DiagCom.GetRequest(DiagService1);
Parameter1 = DiagCom.GetParameterByPath(Request1, {List1[0]});
List1 = DiagDataBrowsing.GetAllowedParameterValueList(Parameter1);

See also

GetEcuVariantList
GetComChannelList
GetDiagServiceList
GetRequestParameterList
GetResponseParameterList