SignalValue

Summary

Get Signal value for a specific signal name.

It is used to get or set signal value and physical value. Also to get interpretation value.

Methods

Structure

class SignalValue
phy() float or None

Get physical value.

Returns

Signal's physical value.

Return type

float or None

phy(value: float)

Sets the physical value of a specific signal.

Parameters

value (float) – Desired signal's physical value

raw() uint64 or None

Get raw value.

Returns

Signal's raw value.

Return type

uint64 or None

raw(value: uint64)

Sets the raw value of a specific signal.

Parameters

value (uint64) – Desired signal's raw value

str() str

Get interpretation value.

Returns

Signal's interpretation value.

Return type

str