CAPL Scripting : How to send a 8byte lin message and get response

Status
Not open for further replies.

roheit_s

Newbie level 1
Joined
Jun 21, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
HI,
How to send a 8 byte LIN message using CAPL script and record the response.
Can someone share the script for this..?


Thanks in advance
 

Hi I have tried with this But i haven't succeeded can anyone suggest me regarding this?
variables
{
linmessage FSs_01 RLS = {msgChannel = 1};
}
on key 'r'
{
int index;
for (index=0; index < 8; ++index)
{
RLS.byte(index) = 0xFF;
}
RLS.RTR=1;
output(RLS);
write("8 BYTE DATA Transmitted");
}
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…