Hello,
DFGray is correct in saying that the problem can be caused from the data not reaching the subvi before it executes. This is because of multithreading and dataflow. Here is a link to describe how LabVIEW works in terms of multithreading and programming suggestions for how to execute in order and to set priorities for subvis.
http://zone.ni.com/devzone/conceptd.nsf/webmain/d2e196c7416f373a862568690074c759?OpenDocument#3
Thanks,
Caroline
National Instruments
Thanks,
Caroline Tipton
Data Management Product Manager
National Instruments