Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Read consecutive frames (NI CAN)

Hai
      Give me an idea how to read consecutive frames.
after sending a command to the ECU(Flow control), ECU will transmit 4 consecutive frame at 4ms time interval, how to read all the 4 consecutive frames.
pls can anybody help me on this
thanks
sk
 
0 Kudos
Message 1 of 7
(4,285 Views)

Hi developer...

It would be helpful if you could specify which Software and hardware are you using to do this. If it is NI Hard- and Software it should be easy.

Write the message to the ECU with a simple write net and then use a while loop with wait for state to wait for this 4 message. The wait will block the thread until all four message arrive and you can read them immediately using a read mult net after the wait.

DirkW

0 Kudos
Message 2 of 7
(4,271 Views)

hello DirkW

thanks for ur reply

           I am using NI PCMCIA Series II CAN card and LabVIEW 7.1 software

i tried but some frames are missing,

i attached my program, please give me an idea how to do it.

thanks

sk

 

0 Kudos
Message 3 of 7
(4,267 Views)

hai

     Is it possible to monitor the CAN data transmit/receive , time & id  etc., using two NI PCMCIA CAN card. in my Notebook

thanks

sasi

0 Kudos
Message 4 of 7
(4,264 Views)

hello

       I am using NI PCMCIA Series II CAN card and LabVIEW 7.1 software

i tried, but some frames are missing,

i attached my program, the sequence where i colored green is where i am reading frames.

please give me an idea how to do it.

thanks

sk

 

0 Kudos
Message 5 of 7
(4,256 Views)

hello

           I am using NI PCMCIA Series II CAN card and LabVIEW 7.1 software

i tried but some frames are missing,

i attached my program, please give me an idea how to do it.

thanks

sk

 

0 Kudos
Message 6 of 7
(4,251 Views)

Hi,

as posted in one of your similar threads here is an example for reading 4 or more consecutive frames.

And change your programming style to have config and open and close only once outsite your main while loop.

DirkW

0 Kudos
Message 7 of 7
(4,241 Views)