CanEasy COM-Help
|
Bus/Channel, gets connected to hardware channel and allows transmission of messages
Definition at line 4753 of file cand_tlb.idl.
HRESULT CanEasy::IBus::Export | ( | [in] BSTR | sFilename | ) |
Exports the bus to DBC or LDF file
HRESULT CanEasy::IBus::FilterPreCopy | ( | [in] BSTR | sFilter, |
[in] BSTR | sId, | ||
[in] enum CallbackPosition | enPosition | ||
) |
Activated PreCopy events. See ITransmissionEvent for more help.
sFilter | String filter to reduce the number of events |
sId | Unique identifier name |
enPosition | Deprecated: Priority when event has to be called |
HRESULT CanEasy::IBus::FilterPreTransmit | ( | [in] BSTR | sFilter, |
[in] BSTR | sId, | ||
[in] enum CallbackPosition | enPosition | ||
) |
Activated PreTransmit event. See ITransmissionEvent for more help.
sFilter | String filter to reduce the number of events |
sId | Unique identifier name |
enPosition | Deprecated: Priority when event must be called |
HRESULT CanEasy::IBus::FilterRxConfirm | ( | [in] BSTR | sFilter, |
[in] BSTR | sId, | ||
[in] enum CallbackPosition | enPosition, | ||
VARIANT_BOOL | boAsynch | ||
) |
Deprecated: Activated RxConfirm events. Use TransmissionEvent instead. See ITransmissionEvent for more help.
sFilter | String filter to reduce the number of events |
sId | Unique identifier name |
enPosition | Deprecated: Priority when event has to be called |
boAsynch | Should be set to true. If set to false the event is called from high prio transmission thread. |
HRESULT CanEasy::IBus::FilterTxConfirm | ( | [in] BSTR | sFilter, |
[in] BSTR | sId, | ||
[in] enum CallbackPosition | enPosition, | ||
VARIANT_BOOL | boAsynch | ||
) |
Deprecated: Activated TxConfirm events. Use TransmissionEvent instead. See ITransmissionEvent for more help.
sFilter | String filter to reduce the number of events |
sId | Unique identifier name |
enPosition | Deprecated: Priority when event has to be called |
boAsynch | Should be set to true. If set to false the event is called from high prio transmission thread. |
HRESULT CanEasy::IBus::GenerateControlUnit | ( | [in] BSTR | sFile | ) |
Imports an LIN ECU from NCF file
HRESULT CanEasy::IBus::GetMsgByID | ( | [in] long | nMsgID, |
[out, retval] IMessage ** | iMsg | ||
) |
Returns a message by its identifier
HRESULT CanEasy::IBus::GetMsgByName | ( | [in] BSTR | sName, |
[out, retval] IMessage ** | iMsg | ||
) |
Returns a message by its name
HRESULT CanEasy::IBus::ResetChannel | ( | ) |
Resets the channel, required on bus off
HRESULT CanEasy::IBus::SelectHardware | ( | [in] BSTR | sHardwareName, |
[in] VARIANT | vHwId, | ||
[in] byte | bHwChannel | ||
) |
Connects this channel to some hardware channel.
sHardwareName | Name of the hardware adapter |
vHwId | Index or serial number, depends on the adapter |
bHwChannel | Channel index of the adapter |
HRESULT CanEasy::IBus::SendFreeCanMsg | ( | [in] long | nMsgID, |
[in] VARIANT | vData, | ||
[in] short | nDLC | ||
) |
Sends a free CAN message
nMsgID | Message identifier |
vData | Byte array (payload) |
nDLC | Byte length of payload |
HRESULT CanEasy::IBus::SendFreeLinMsg | ( | [in] long | nMsgID, |
[in] VARIANT | vData, | ||
[in] short | nDLC, | ||
[in] enum LinChecksumVersion | enChecksumVersion | ||
) |
Sends a free LIN message
nMsgID | Message identifier |
vData | Byte array (payload) |
nDLC | Byte length of payload |
enChecksumVersion | Checksum (Classic, Enhanced) |
HRESULT CanEasy::IBus::SendFreeMsg | ( | [in] long | nMsgID, |
[in] VARIANT | vData, | ||
[in] short | nDLC | ||
) |
Deprecated: Sends a message. Use TransmitMsg instead.
HRESULT CanEasy::IBus::SetTrsCtrlForMessages | ( | [in] BSTR | sText | ) |
Set the transmission control for all messages in this channel
sText | Name of the transmission control |
HRESULT CanEasy::IBus::TransmitMsg | ( | [in] long | nMsgID, |
[in] VARIANT | vData, | ||
[in] short | nDLC, | ||
[in] enum TransmissionFlags | enFlags | ||
) |
Transmits a message
nMsgID | Message identifier |
vData | Byte array (payload) |
nDLC | Byte length of payload |
enFlags | Flags like Baudrate switch for CANFD |
|
getset |
Baudrate used to initialized the adapter
|
getset |
CAN BTR0 register
|
getset |
CAN BTR1 register
|
getset |
Activates/Deactivates bus error events
|
getset |
Activates/Deactivates bus state (chipstate) events
|
getset |
Returns the channel identifier (see attribute ChannelId)
|
get |
Returns a collection of contained ECUs
|
get |
Returns a generic extension for this channel by name
|
getset |
Activated/Deactivates events on hardware init error
|
getset |
ECU which is configured as LIN master
|
get |
Returns the AutoSAR network management interface
|
get |
Returns the OSEK network management interface
|
getset |
Activates/Deactivates PreCopy events
|
getset |
Activates/Deactivates PreTransmit events
|
getset |
Deprecated: Activates/Deactivates RxConfirm events. Use TransmissionEvent instead.
|
getset |
Activates/Deactivates the reception of all messages
|
get |
Returns the class to get transmission events.
Example: Use item.TransmissionEvent.Active = true to activate the events.
|
getset |
Deprecated: Activates/Deactivates TxConfirm events. Use TransmissionEvent instead.
|
getset |
Activates/Deactivates the transmission of all messages
|
get |
Returns the bus type (CAN, LIN, ETH)
|
get |
Returns namespace with variables created under the channel.
|
get |
Returns interface to get the virtual channel (see attribute VirtualChannel)