Jump to content
agilentvee

Are there some people who familiar with NI-XNET?

Recommended Posts

Hi guys:

I have one issue about signal of CAN Framework. I hope I can get response in the forum.

Requirement :

1. there is one cycle CAN Data, the 8th byte is cycle data(0->15), if the 8th byte not follow cycle data, we must give up this frame data , and report one error message. 

   my issue: how to detect the CAN message in cycle data mode?

2. on the other hand, if we want to generate one cycle CAN DATA as below , how I can do it?

 

BR

 

 

Share this post


Link to post
Share on other sites

Oh you mean like incrementing counters using the bucket filling technique with queued frames? (Part 9 of my CAN blog)

Or even better, having the ability to load the XNet with custom hardware which performs the incrementing counters (and optionally the CRC) automatically? (Part 10 of my CAN blog)

If you find this useful be sure and vote for the idea exchange to make this an official feature of XNet.

Edit:  Just realized that only answers half your question.  As for detecting a frame drop out, you'll want to setup an XNet session of the Stream type, or Queued which allows to read every value of a signal or frame.  Then just do an comparision that the previous value is one less than the next one and if it isn't perform some action.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.