LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 64 occurred at the receive Queue was read too late.

Hi all,

I was trying to build a user interface to receive and interpret data from a CAN bus using the CAN receive block in LabVIEW.

I have built my VI using a flat sequence structure.

 

Step 1: The 1st frame consists of CAN bus initialization as follows: 

Satvikpai_1-1726112169191.png

 

Step 2:

After this frame I am having a series of frames where I am writing and receiving data from this CAN Channel.

 

Satvikpai_3-1726112518245.png

 

 

Step 3: After completing step 2, I am using a prompt user block where the user needs to click a button in order for the program to proceed. 

Satvikpai_2-1726112419336.png

 

My VI works fine until the point where the Prompt user block is executed. A user can take as much time to click the proceed button on the prompt user window. If I wait for more than 10 secs on the prompt user window and then proceed. I get an error saying receive queue was read too late. Since my VI is already initialized, I don't have a way to pause the CAN channel until the prompt user window is executed and then resume the CAN channel for further CAN read blocks.

 

Error is recieved on this CAN receive block which is after the prompt window. 

Satvikpai_4-1726113053147.png

 

 

 

Satvikpai_0-1726111944708.png

 

Can anyone please help me execute this? I am stuck on the part where I can pause the CAN channel and then resume it again, so I won't make the CAN read block wait until the prompt window executes.

 

Any help is appreciated.

Thanks in advance for the reply.

0 Kudos
Message 1 of 1
(101 Views)