Hello TonY 20,
I believe that the issue you are seeing has to due with the fact that the Traditional NI-DAQ Compatibility VIs internally call some subVIs dynamically, and these dynamically called VIs are not automatically included in the executable that you create. The dynamically called VIs that are missing from the executable will be reported in the error message, similar to the following:

The dynamic call can be observed by going to the program's block diagram and following the chain of VI's given in the error message. If a different VI is referred to in the error message, you can figure out which one needs to be included in the build of the executable by locating it in the block diagram.
After you figure out which dynamic VI is missing, you will need to find where this VI is located on disk and include it in the Source Files section of the executable that you create.
I hope this helps, and if you have any further questions, it would help to provide some details about the exact error message you are seeing.
Travis G.
Applications Engineering
National Instruments
www.ni.com/support
Message Edited by Travis G. on 01-12-2007 03:55 PM