KLine_CreateECURepresentation
Valid for: CANoe DEFunction Syntax
Description
Initialize K-Line ECU communication on given channel. Note: Must be called in on preStart handler.Parameters
- channel: Number of the hardware channel.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
long KLine_CreateECURepresentation(dword channel)
on preStart
{
long klineHandle;
long channelNo;
channelNo = DiagGetCommParameter("CANoe.ChannelNumber");
klineHandle = KLine_CreateECURepresentation(channelNo);
write("KLine_CreateECURepresentation at K-Line%d returns %d", channelNo, klineHandle);
}