Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Transmitt frame on RTSI.

Hello Olivier,

 

many thanks for the reply. I agree the question is different but I put it here because it is related to the topic and I was hoping that the previous two members would be made aware of my post per email.

 

Also, in my previous message, i wrongly mentioned 8 bits instead of 8 bytes. 

 

I will explain here a bit more to answer your questions. I wish for my application to send a CAN frame at 100Hz. This application should also be synchronized with another application which would run on an FPGA (also at 100Hz). I plan to use the RTSI signals on the backpane of my PXI chassis to achieve this.

 

As things stand, I plan to use the "CAN object transmits periodic on RTSI.vi". The necessary RTSI signal is generated by the FPGA application. My problem is that in my can frame, there is a 12 bit field for which I have to constantly supply values from a very large array (approx 1.6M values). How do I go about doing this??? The above mentioned VI does not have any loops so the data at the start of the VI is basically transmitted all the time whenever an RTSI pulse is generated. Is there any way I can use the Channel API with RTSI??? All the examples I find use the Frame API.

 

Could you or anybody else for that matter suggest how I could do something like this?? 

 

Regards,

Shailesh

0 Kudos
Message 11 of 12
(2,229 Views)

Hi Shailesh,

 

First, I think that if you need to transmit an array of different CAN Frames, you should use the CAN transmit Multiple.vi exemple.

Then, you could find some examples using the Channel API and the RTSI signals in the Channel API>Synchronization folder into the example finder tool.

 

Hope this helps.

 

Regards,

Olivier L. | Certified LabVIEW Developer


0 Kudos
Message 12 of 12
(2,215 Views)