j1939Ch = j1939Channel(database,'vendor','device') creates
a J1939 channel connected to the specified CAN device. Use this syntax
for National Instruments™ and PEAK-System devices, which do not
require a channel index argument.
j1939Ch = j1939Channel(database,'vendor','device',chanIndex) creates
a J1939 CAN channel connected to the specified CAN device and channel
index. Use this syntax for Vector and Kvaser devices that support
a channel index specifier.
Name of device vendor, specified as a character vector or string.
Example: 'Vector'
Data Types: char | string
Name of CAN device attached to the J1939 CAN channel, specified as a character vector or
string.
For Kvaser and Vector products, device is
a combination of the device type and a device index. For example,
a Kvaser device might be 'USBcanProfessional
1'; if you have two Vector CANcardXL devices, device can
be 'CANcardXL 1' or 'CANcardXL 2'.
For National Instruments devices the devicenumber
is the interface number defined in the NI Measurement & Automation
Explorer.
For PEAK-System devices the devicenumber is
the alphanumeric device number defined for the channel.
Example: 'Virtual 1'
Data Types: char | string
Channel number of the CAN device attached to the J1939 CAN channel,
specified as a numeric value. Use this argument with Kvaser and Vector
devices.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.