Kvaser CanKing GUI Extensions SDK v7.6.1
Kvaser CanKing GUI Extensions SDK / models / SignalValue
Interface: SignalValue
A message that holds a signal’s value.
Properties
decimals?
optionaldecimals?:number
Number of decimals (0-9) that the signal’s scaling can express exactly, intended for formatting double_value. Since a physical value is computed as raw * factor + offset in double precision, printing it unrounded exposes artefacts such as 123.00000000000001 for a factor of 0.1; rounding to this many decimals removes them without losing real precision. Absent when the scaling does not determine the count, which is the case for float and double signals that carry their fractional precision in the payload rather than in the scaling.
doubleValue
doubleValue:
number
Numeric representation of the signal value.
name
name:
string
Name of the signal.
qualifiedName
qualifiedName:
string
Qualified name of the signal.
stringValue?
optionalstringValue?:string
Text representation of the signal value if this is an enumeration signal.
unit
unit:
string
Unit of the signal.