11-21-2008 04:48 PM
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
Solved! Go to Solution.
11-24-2008 11:04 AM
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!! 🙂
11-24-2008 01:10 PM
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