Parameter

Summary

Represents a parameter object.

See also

ISignalInstance

Methods
Properties

Structure

class Parameter
get_bit_position() int32

Retrieves the bit position of the current parameter.

Returns

Bit position of the parameter.

Return type

int32

get_length() int32

Retrieves the length of the current parameter.

Returns

Length of the parameter.

Return type

int32

set_length(p0: int32)

Sets the length of the parameter data.

Parameters

p0 (int32) – Desired length.

set_payload_offset(payloadOffset: int32)

Sets the offset of the payload.

Parameters

payloadOffset (int32) – Payload offset.

arrays

List of arrays that are part of the parameter. A parameter can have a list of arrays, each o them defined by a dimension, a number of elements, the field_size (if it’s dynamic) and a type of elements. To determine the size of the array a length parameter, which counts the bytes of the array, added during the serialization process.

Type

Array[ArrayDefinition]

base_type
String used in the Fibex database to specify the basic data type.

It can be one of the following values: bool uint8 uint8 uint16 uint32 uint64 int8 int16 int32 int64 float32 float64 string struct union typedef

Type

str

basic_partial_network

Extract from the database a list of the basic partial network vehicle state

Type

Array[str]

bit_length

Static length of the declared data type. It represents the bit length used to encode the parameter. It could be, for example, a byte coded parameter but coded only on 2 bits.

Type

int32

compu_methods

Represent the method to calculate the transmitted value to the physical representation.

Type

List[ICompuMethod]

description

A description of the object.

Type

str

enumeration_elements

Dictionary containing enum values and keys if the parameter is an enumeration object.

Type

Dictionary[str, str]

functional_partial_network

Extract from the database a list of the functional partial network vehicle state on

Type

Array[str]

is_array

True if the parameter is of type array. False otherwise.

Type

bool

is_complex

True if the parameter has a dynamic length. False otherwise.

Type

bool

is_enum

True if the parameter is an enumeration. False otherwise.

Type

bool

is_high_low_bit_order

True if the bytes are stored in big endian format. False if they are stored using little endian encoding.

Type

bool or None

length_field_size

The optional size of a leading length parameter of a data type.

Type

uint32 or None

mandatory

True if the parameter is mandatory, False if not.

Type

bool

manufacturer_extension

The manufacturer extensions.

Type

IManufacturerParameterExtension

max_bit_length

Dynamic length of the declared datatype in the datatype-declaration. It represents the maximum bit length used to encode the parameter.

Type

uint32 or None

members

List of members or parts of the parameter if its type is complex. Each member is a parameter and, as such, it contains the same properties the parameter objects have.

Type

Array[Parameter]

min_bit_length

Dynamic length of the declared datatype in the datatype-declaration. It represents the mininum bit length used to encode the parameter.

Type

uint32 or None

name

Name of the parameter object.

Type

str

position

Position of the complex data type member within the complex datatype.

Type

int32

signal

Subordinated signal.

Type

ISignal

string_bom

Defines whether a BOM is present in a string (EXPLICIT) or not (NONE).

Type

bool

string_encoding
Specifying the data encoding if not defined by the data type.

It can be one of the following values: utf-8, utf-16, iso-8859-1, iso-8859-2, windows-1252.

Type

str

string_termination

Specifying the termination used. It can be one of the following value: NONE, ZERO

Type

char or None

tag_id

Identifier of the tag field.

Type

uint16 or None

type_field_size

The optional size of a type field of a data type. Applies for complex union data types.

Type

uint32 or None

uuid

The UUID of the parameter object.

Type

str