Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

periodic transmit

This is similiar to a question that I asked NI but have not yet received a response on.  So let me confirm what I understand from this thread.
Using Frame API.
There is no seperate hardware buffer where periodic commands (more than one) are stored.
If I use the periodic commands, I can only have one periodic interval, not one for each command.
If I have a mix of periodic commands and one off commands, then I am tasked with building the periodic buffering in code.
 
To have an idea:
Periodic commands
 
Arb ID  Data      Interval
174      81 01     1.2S
178      01          1.2S
678      03  FF    10.0S
 
Then be able to insert one time commands into the stream as needed.
 
This is a duplicate of a post in 'switch to write CAN' but I did not think I would get good feedback if left there although the discussion is similar.

Paul
0 Kudos
Message 1 of 3
(3,750 Views)
Hi Paul,

I’m a little unclear what exactly your application needs to do, but as far as I understand it, wouldn’t the following work?
  • Create three periodic CAN objects for the three listed IDs with the listed period.
  • Use the Network Interface to intermittently transmit other/unregular CAN frames.
(see attached code)

-B2k

Message Edited by biker2000 on 10-14-2005 07:51 AM

0 Kudos
Message 2 of 3
(3,739 Views)

I will give it a go and see how it works.  This is my first app using CAN, so there is a lot to learn.  I appreciate you taking the time to show me this example. 

Paul


Paul
0 Kudos
Message 3 of 3
(3,721 Views)