Hi Dick,
What you have done till the maximum predefined file size reach point is fine. Once it reaches the limit, you have closed that file reference, what you created at the start. So you should not have a file reference for FALSE case to continue writing, after creating a new file inside a TRUE case loop. So if you pass it thru shift reg., after close of one file ref. you will have another one to write always.
LV should say an error like No Open file reference is available for writing.. Instead of GPIB controller to be controller in charge where we'll not be using any IB etc.
Regards,
Kousy