Initialize K-Line ECU communication on given channel.Note: Must be called in on preStart handler.
Parameters
channel: Number of the hardware channel.
Return Values
On success 0, otherwise a value less than 0.
Example
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);}