ISignalInstance

Summary

Represents a Signal Instance.

See also

ISignal

Methods
Properties

Structure

class ISignalInstance
get_interpretations() Dictionary[str, Tuple[float, float]]

Returns a dictionary of tuple (min_physical_value, max_physical_value)

Returns

Dictionary of tuple (min_physical_value, max_physical_value)

Return type

Dictionary[str, Tuple[float, float]]

physical_to_raw(physical: float) uint64

converts the physical measurement of the signal to its corresponding raw value

Parameters

physical (float) – the physical measurement of the signal

Returns

The raw value of the signal.

Return type

uint64

raw_to_interpretation(raw: uint64) str

Converts the raw value of the signal to its corresponding interpretation.

Parameters

raw (uint64) – The raw value to be converted.

Returns

Interpretation of the signal.

Return type

str

raw_to_physical(raw: uint64) float

converts the raw value of the signal to its corresponding physical measurement

Parameters

raw (uint64) – The raw value to be converted.

Returns

physical measurement of the signal.

Return type

float

base_data_type

gets the base data type.

Type

str

bit_length

gets the bit length.

Type

int32

bit_position

Gets the bit position.

Type

uint32

compu_methods

Gets the composition methods.

Type

List[ICompuMethod]

crc_id

Gets the attribute value of the signal type.

Type

uint64

id_string

Gets the signal ID.

Type

str

initial_value

The signal value at startup.

Type

uint64 or None

is_high_low_byte_order

Gets bool value whether the byte order is low or high.

Type

bool or None

lower_limit

Gets the lower limit.

Type

float or None

method

Gets the method.

Type

str

name

Gets the name of the signal.

Type

str

signal

Get the correspond signal of signal instance

Type

ISignal

signal_activation_configs

The signal activations conditions.

Type

List[ISignalActivation]

signal_type

Gets the signal type.

Type

str

signal_type_attribute_name

Gets the attribute name of the signal type.

Type

str

unit

The signal unit value.

Type

str

update_indication_bit_position
Indicates to the receivers that the signal was updated by the sender.

Length is always one bit. The attribute describes the position of the update bit within the PDU.

Type

uint32 or None

upper_limit

Gets the upper limit.

Type

float or None

uuid

Gets the uuid of the signal.

Type

str

validity

Gets the validity value.

Type

str