Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Does the NI-CAN 2.5 Channel API support multiple periodic tasks?

I have different channels that need to be output at seven different periods.  Can I create multiple periodic tasks with different periods or am I going to have to either use software timing or the Frame API?
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 1 of 3
(4,346 Views)

Hi,

yes you can initialize multiple task with different sample rates, but you have to initialize all sequentialy and then to start thee tasks sequentialy.

Attached you can find an example for LabVIEW which shows how to do it.

DirkW

Message 2 of 3
(4,336 Views)
Thanks Dirk!  Is that documented somewhere and I just missed it?
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 3 of 3
(4,328 Views)