ADTF Peak CAN Device
PEAK CAN Device Transmitter
Plugin Information
Plugin Filenameadtf_peak_can_device.adtfplugin
Plugin Descriptionadtf_peak_can_device.plugindescription
Plugin NamePEAK CAN Device Plugin
LicenseDigitalwerk
Support Mailsupport@digitalwerk.net
Homepage URLhttps://digitalwerk.store/
Plugin Versions
Plugin Version1.99.99
Plugin File Version1.0
adtf::dw_peak_can_device_plugin1.99.99
adtf3.20.4
adtf::ucom3.1.0
Component Information
NamePEAK CAN Device Transmitter
CIDpeak_can_device_transmitter.streaming_sink.dw.cid
DescriptionUse this streaming sink to transmit CAN data using a PCAN-Basic library compatible device.
TypeFilter
Properties
NameValueTypeDescriptionSubproperties
baudrate28tUInt16Sets the baudrate for PEAK CAN Device initializationValue List:
2666K = 0
2M = 1
1600K = 2
1333k = 3
1M = 20
800K = 22
500K = 28
250K = 284
125K = 796
100K = 17199
95K = 49998
83K = 34091
50K = 18223
47 = 5140
33K = 35631
20K = 21295
10K = 26415
5K = 32639
peak_device_id0x0cStringPEAK device id which is set via PEAK-Hardware software. Make sure it is unique. Hex value is supported.
phys_channel1tUInt32If the PEAK device has multiple physical channels set the used channel here starting with 1. If the device has only one physical channel you can leave this property untouched.
share_phys_channelfalsetBoolSet this to true, if you want to receive and send CAN data over the same physical channel. Then only the receiver filter will initialize the physical channel on the device and the transmitter will use this initialized channel too. If set to false the transmitter will initializes the physical channel on its own. Use this only if there is a receiver and a transmitter in the same session which shall use the same physical channel. Make sure that the "listen_only" property of the receiver is not set.
Input Pins
NameStream TypeDescription
input_can adtf/devicetb/can The CAN samples to be transmitted to the device.
Runner
NameActivation TypeData TriggeredData InputThread TriggeredThread CyclicTimer TriggeredTimer IntervalDescription
process_input_can91input_can0000Default runner port for the input pin 'input_can'
Dynamic Pins
Dynamic Input Pinsfalse
Dynamic Output Pinsfalse
Dynamic Input Binding Pinsfalse
Dynamic Output Binding Pinsfalse
Input Pin Stream Types
Pin Nameinput_can
Meta Type Nameadtf/devicetb/can
Stream Type Properties
NameValueTypeDescriptionSubproperties
channel1cString
databasecString
md_data_serializedfalsetBool
md_definitions
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?><adtf:ddl xmlns:adtf="adtf"><enums><enum name="eMessageTag" type="tUInt8"><element name="MT_Data" value="0" /><element name="MT_Status" value="1" /></enum><enum name="eDataFlags" type="tUInt16"><element name="DF_ERROR_FRAME" value="1" /><element name="DF_NONE" value="0" /><element name="DF_REMOTE_FRAME" value="2" /><element name="DF_TX_COMPLETED" value="4" /><element name="DF_FLEXIBLE_DATARATE" value="8" /></enum></enums><structs><struct name="tCANData" alignment="1" version="1"><element type="eMessageTag" name="ui8Tag" bytepos="0" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt8" name="ui8Channel" bytepos="1" arraysize="1" byteorder="LE" alignment="1"/><element type="tInt64" name="tmTimeStamp" bytepos="2" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt32" name="ui32Id" bytepos="10" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt8" name="ui8Length" bytepos="14" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt8" name="ui8Reserved" bytepos="15" arraysize="1" byteorder="LE" alignment="1"/><element type="eDataFlags" name="ui16Flags" bytepos="16" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt16" name="ui16Reserved" bytepos="18" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt32" name="ui32Reserved" bytepos="20" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt8" name="aui8Data" bytepos="24" arraysize="8" byteorder="LE" alignment="1"/></struct></structs></adtf:ddl>
cString
md_structtCANDatacString
networkcString