Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Periodic transmission of CAN messages using Channel API (LabView)

Hi All..
 
I am using Channel APIs for Periodic transmission. I have a database (.dbc) file too. I am accessing few messages from the data base to transmit. I have to get clarification for the following
 
1. Can i use different CAN get name and CAN write functions ? because i do nt need all the messages from the data base to be transmitted
2. What is the number of samples indicates in CAN write functions ? Is that the the number of signals present in that task ?
3. Suppose i have 2 signals for a particular message in a single task. So I have selected the type "Multichannel single sample". Is that correct ?
 
Pls help me in this regard
 
Thanks in advance
Anoop
 
0 Kudos
Message 1 of 3
(4,373 Views)
Hello Anoop,
1. You can use CAN get names.vi and get all the channels you want information of and also can use CAN write.vi to write to these channels.
2. The number of samples to write specifies the number of samples to write for the task. For single-sample Poly VI types, CAN Write.vi always accepts one sample, so this input is ignored.
3. Yeah that is correct.
For more information you can use CAN Hardware and software manual.
Thanks adn good with your project.
Regards
Nikhil A.
0 Kudos
Message 2 of 3
(4,344 Views)
Thanks Nikhil for your help !!!
0 Kudos
Message 3 of 3
(4,338 Views)