Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Multiple CAN messages after a RTSI signal Input

What I'm trying to achieve is this...
We have a PXI based system with 2 x M-series DAQ modules and a single channel CAN module. At an interval of 20mS, I want to set up some stimuli / take measurements using the DAQ, then send this information via the CAN card to another PC which will log the data from the pxi box and other CAN inputs from the DUT...
Due to the amount of data being set / read from the DAQ modules, I'm going to have to transmit several frames of CAN data (best guess is about 5 frames at the moment...)
The timing of the system is important, so I've been experimenting with using a RTSI signal from one of the DAQ modules to initiate the transfer of the CAN data. I've looked through various NI pages, and looked at the LabView examples provided, but the best I've managed to do is to get the CAN module to transmit a message each time a RTSI signal is received. This might work if I could figure out how to generate complex RTSI signals (e.g. one that sends a burst of 5 RTSI signals, at a rate of 500Hz ever 20mS. The remaining time in the 'timeslot' would be needed to read a sequencing file to determine the next DAQ configurations, and performing the actual DAQ stuff...)

Hope the above is clear enough!
0 Kudos
Message 1 of 1
(3,947 Views)