Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -2206 in RT FIFO Write

Solved!
Go to solution

Hi,

 

I am developing a data acquisition program on a cRIO-9074.  In my data acquisitin loop on the RT target, I have it read a block which is then enqueued to a RT FIFO.  This was working when I split the block into sub-arrays, one for each sample, but now I have decided to use another parallel while loop to manipulate the data (using the decimate array function).  When RT FIFO Write tries to write the block to the queue, it throws an error with code -2206 (which isn't documented as far as I can tell), and the message only says that the error occured in RT FIFO Write.

 

If anyone could help me on this, it would be greatly appreciated!  Let me know if I should attach the VI.

 

Thanks,

 

Alex

0 Kudos
Message 1 of 3
(4,434 Views)

byrd-

 

            Post up your code and I will take a look at it (Tell me what version of LV also). The generic code for 2206 is that the RT FIFO doesn't exist, but this doesn't mean that this is your problem. I would check that you have initialized any arrays that you write to. Thanks!! 🙂

0 Kudos
Message 2 of 3
(4,417 Views)
Solution
Accepted by topic author byrd

G-Money,

 

Thanks for the reply, but I figured it out.  The RT FIFO was being closed when it shouldn't have been due to my inexperience in writing code with concurrent loops.  I just ran the code with the debugger on and saw the problem right away.  What a great tool!

 

Alex

0 Kudos
Message 3 of 3
(4,412 Views)