Andy,
I tested your VI and got errors after the RT FIFO Delete ran. I tried it both in Windows and on an RT target. I did get different errors in the two cases, which is inconsistent. I'll report that. In RT I got the error -1 and in Windows -2206.
One thing that I noticed as I loaded the VI was that it was looking for RT FIFO VIs in the llb HRCtest.llb. Since RT FIFOs are VIs that ship with LabVIEW Real-Time you should be using the once in the original location (vi.lib/addons/rt/RT FIFO.llb). If you want to make changes to it then you should save it under a new name first. The easiest way to point it back to the correct VI is to rename the VI in the HRCtest.llb, then next time LabVIEW loads your VI it will search for the RT FIFO VIs and find them in the vi
.lib folder.
Carl L
National Instruments