Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

transmit (J1939)

Send parameter groups via channel to J1939 bus

Syntax

transmit(chan,pgrp)

Description

example

transmit(chan,pgrp) sends the specified parameter groups in the array pgrp onto the J1939 bus via the channel chan.

Examples

collapse all

Send the parameter group 'MyParameterGroup' to the bus.

db = canDatabase('MyDatabase.dbc');
chan = j1939Channel(db,'Vector','CANCaseXL 1',1);
start(chan)
pgrp = j1939ParameterGroup(db,'MyParameterGroup')
transmit(chan,pgrp)

Input Arguments

collapse all

J1939 channel, specified as a channel object. Use thej1939Channel function to create and define the channel.

J1939 parameter groups, specified as an array of ParameterGroup objects. Use thej1939ParameterGroup function to create and define the ParameterGroup objects.

Introduced in R2015b

Was this topic helpful?