Hi All,
Having tried to open the updated versions of the VI's you attached, I realised that you must have converted it to LV8.2, hence I could not open it with the 7.1 that I have. 😞
However, despite that problem I finally managed to get it working correctly (using my original method) but by simply pasting in a duplicate copy of the same state machine I had used on another VI, which worked fine.
If you're a novice programmer (like myself) and wish to achieve the same goal but without the complexity (or without the fear of being patronised on here by certain experienced users), then feel free to get in touch and I'll mail you the working VI.
Regards,
Kevin