It took us a while to find the cause of this problem, so I thought I'd document it for prosperity. We're running sub-vi's in a Labview routine, and it wouldn't work because one of the sub-vi's popped up a window every time, asking us to save a *.mdi file.
Eventually, we worked out that in...