Documentation Center

  • Trials
  • Product Updates

signalInfo

Information about signals in CAN message

Syntax

SigInfo = signalInfo(candb,'msgName')
SigInfo = signalInfo(candb, id, extended)
SigInfo = signalInfo(candb, id, extended, 'signalName')

Description

SigInfo = signalInfo(candb,'msgName') returns information about the signals in the specified CAN message msgName, in the specified database candb.

SigInfo = signalInfo(candb, id, extended) returns information about the signals in the message with the specified standard or extended ID id, in the specified database candb.

SigInfo = signalInfo(candb, id, extended, 'signalName') returns information about the specified signal 'signalName' in the message with the specified standard or extended ID id, in the specified database candb.

Input Arguments

candb

The database containing the signals that you want information about.

msgName

The name of the message that contains the signals that you want information about.

id

The numeric identifier of the specified message that contains the signals you want information about.

extended

Indicates whether the message ID is in standard or extended type. The Boolean value is true if extended and false if standard.

signalName

The name of the specific signal that you want information about.

Output Arguments

SigInfo

The signal information object returned from the function.

Examples

SigInfo=signalInfo(candb, 'Battery_Voltage')
SigInfo=signalInfo(candb, 'Battery_Voltage', 196608, true)
SigInfo=signalInfo
(candb, 'Battery_Voltage', 196608, true, 'BatVlt')

See Also

| |

Was this topic helpful?