Prasad-
Thanks for sending the files.
Ok, I have some news. I've been looking into the issue for the past several hours with the help of our R&D PDA team, and your issue seems to be unexplainable. I was able to successfully reproduce your error on my machine, and the error goes away if I try to build the shell (CDmain) file without including the formula node subVI.
We are going to investigate the problem further and determine why the formula nodes are causing issues when building the PDA application.
In the meanwhile, the only solution I can propose is to use LabVIEW to write your C++ code. Fortunately, the function calls that you make (for loop and count increm
ent) are functions that LabVIEW offers. This translation effort should be quick, because your C++ code appears to be pretty short and basic.
I will keep you updated as our investigation continues. Until we find the source of the problem, I am available to you for help in translating the formula node code into LabVIEW code if you need any assistance.
Again, I apologize that this has inconvenienced you, and I'll be here for help until the problem is solved.
Best Regards,
Joe Des Rosier
National Instruments