Re: simulating an error frame in canoe using capl

Heikki Saha <[email protected]> Thu, 9 Jan 2020 13:08:23 +0200
Newsgroups gmane.comp.hardware.bus.can
Message-ID <CAGCYbHQemxDL1tp2y5NtShP2rmtYmA5rpa=RNPEfH0mDSrktzA@mail.gmail.com>
--000000000000b44ecf059bb3077d
Content-Type: text/plain; charset="UTF-8"

Hello,

One option could be to use a real network by e.g. transmitting into
channel-0 and receiving from channel-1, which are connected together (pins
2,5 and 7 of D-sub).

Best regards,

-H

Heikki Saha, CTO
  M.Sc. Automation
  Dr.Tech. Electronics
TK Engineering Oy
Hovioikeudenpuistikko 13 as 3, 65100 Vaasa
+358 (0)50 588 6894
email: [email protected]
skype: heikki.saha_tke

We are also in the 17th iCC: https://www.can-cia.org/icc


On Thu, Jan 9, 2020 at 11:27 AM sunilvarapana <[email protected]> wrote:

> hi all,
>
> i am learning canoe,i created two nodes and wrote a capl programme to send
> messages each other periodically.
> could you please guide me how to simulate error frame in can bus there by
> error counters to be modified in the simulation.
> i used a capl function output(error frame); but it doesn't effect the error
> counters.
> i didnt used any real nodes.
> could you please let me know is this analysis is correct?
>
> please guide me on it.
>
> thanks in advance.
>
> sunil kumar reddy
>
>
>
> --
> Sent from: http://can-bus.996267.n3.nabble.com/
> --
> Archives and useful links: http://groups.yahoo.com/group/CANbus
> Subscribe and unsubscribe at www.vector.com/canlist/
> Report any problems to <[email protected]>
>

--000000000000b44ecf059bb3077d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>One option could be t=
o use a real network by e.g. transmitting into channel-0 and receiving from=
 channel-1, which are connected together (pins 2,5 and 7 of D-sub).</div><d=
iv><br></div><div>Best regards,</div><div><br></div><div>-H<br></div><div><=
br></div><div><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmai=
l=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=
=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">Heikki Saha, CTO<br>
=C2=A0 M.Sc. Automation<br>
=C2=A0 Dr.Tech. Electronics<br>
TK Engineering Oy<br><font face=3D"arial, helvetica, sans-serif">Hovioikeud=
enpuistikko 13 <span style=3D"color:rgb(51,51,51);font-style:normal;font-we=
ight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transf=
orm:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,2=
55);float:none;display:inline">as 3</span><span style=3D"color:rgb(51,51,51=
);font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;=
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;bac=
kground-color:rgb(255,255,255);float:none;display:inline">, 65100 Vaasa</sp=
an></font><br>
+358 (0)50 588 6894<br>
email: <a href=3D"mailto:[email protected]" target=3D"_blank">heikki.saha@=
tke.fi</a><br>
skype: heikki.saha_tke</div><div dir=3D"ltr"><br><div>We are also in the 17=
th iCC: <a href=3D"https://www.can-cia.org/icc" target=3D"_blank">https://w=
ww.can-cia.org/icc</a><br></div></div></div></div></div></div></div></div><=
/div></div></div></div><br></div></div><br><div class=3D"gmail_quote"><div =
dir=3D"ltr" class=3D"gmail_attr">On Thu, Jan 9, 2020 at 11:27 AM sunilvarap=
ana &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; =
wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">hi all,<b=
r>
<br>
i am learning canoe,i created two nodes and wrote a capl programme to send<=
br>
messages each other periodically.<br>
could you please guide me how to simulate error frame in can bus there by<b=
r>
error counters to be modified in the simulation.<br>
i used a capl function output(error frame); but it doesn&#39;t effect the e=
rror<br>
counters.<br>
i didnt used any real nodes.<br>
could you please let me know is this analysis is correct?<br>
<br>
please guide me on it.<br>
<br>
thanks in advance.<br>
<br>
sunil kumar reddy<br>
<br>
<br>
<br>
--<br>
Sent from: <a href=3D"http://can-bus.996267.n3.nabble.com/" rel=3D"noreferr=
er" target=3D"_blank">http://can-bus.996267.n3.nabble.com/</a><br>
--<br>
Archives and useful links: <a href=3D"http://groups.yahoo.com/group/CANbus"=
 rel=3D"noreferrer" target=3D"_blank">http://groups.yahoo.com/group/CANbus<=
/a><br>
Subscribe and unsubscribe at <a href=3D"http://www.vector.com/canlist/" rel=
=3D"noreferrer" target=3D"_blank">www.vector.com/canlist/</a><br>
Report any problems to &lt;<a href=3D"mailto:canlist-owner@vector-informati=
k.de" target=3D"_blank">[email protected]</a>&gt;<br>
</blockquote></div>

--000000000000b44ecf059bb3077d--
--
Archives and useful links: http://groups.yahoo.com/group/CANbus
Subscribe and unsubscribe at www.vector.com/canlist/
Report any problems to <[email protected]>