Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing consecutive frames (NI CAN)

Hai
when i send flow control frame to ECU, 31 04 04 
ECU will send consecutive frame 
11 A1 A2 A3 ...
11 B1 B2 B3  ..
11 C1 C2 C3...
11 D1 D2 D3 ...
but i receive the first frame only, i am not receiving rest of the frames.
how to program to recive all the frames and display in the receive window.
 
i attached my vi,
I am using LabVIEW 7.1 & NI PCMCIA SERIES II CAN h/w
 
thanks
sk
0 Kudos
Message 1 of 2
(3,152 Views)

Hi developer,

Third post today? here is an example of how to read 4 consecuitive frames after a write.

You should change your program to have the initialize and open only once before you enter the while loop. The Interface handle is the only value you have to provide to your write and read functions. And when you stop the program the close will clear the handle, thus the close should also be outside your main loop once.

DirkW

0 Kudos
Message 2 of 2
(3,147 Views)