Kvaser CanKing GUI Extensions SDK v7.6.1


Kvaser CanKing GUI Extensions SDK / hooks / useSignalDataEnvelopes

Function: useSignalDataEnvelopes()

useSignalDataEnvelopes(id, subscriptionName, subscribedSignals, view): ISignalDataEnvelope[]

A hook for extracting signal data envelopes to be used for graphical visualization.

Parameters

id

number

The unique id of the view.

subscriptionName

string

The subscription name for the data. Must be unique per view.

subscribedSignals

object[]

The subscribed signals with their qualified names and optional source identifiers.

view

IEnvelopeView

Optional view parameters to define the time range and width for the envelopes.

Returns

ISignalDataEnvelope[]

The extracted signal data envelopes.