‎03-05-2006 10:32 AM
‎03-05-2006 10:39 AM
‎03-05-2006 10:41 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
‎03-05-2006 11:39 AM
it is a fairly large file. I am not sure if you want to go through that. I just type CTR-S to save the vi, and I am using Windows
I did look what kind of change caused the problem. I am not sure if I find the exact cause, but here is what I find:
I have a subVI which contains several config read function to read ini file. I replaced that subVI with a similar but different one, (just read different section of ini) and after I save the program, the file size drop from 314kB to 294kB. I do not see any reason the file size should be that much different. When I ran the program, the subVI did read what it suppose to read though.
‎03-05-2006 12:05 PM
Hi DGU,
Have you tried simply opening/saving the old VI to a new name. Is the "old"code written in an earlier version of LabVIEW?
Cheers.
‎03-05-2006 11:54 PM
‎03-06-2006 01:03 AM
Hi DGU,
The VI becomes unusable after being run?
Is it possible that the VI [accidentally] opens itself as a data file? Are there any graphs on the FP of this VI?
What happens if you make the VI "read only" then run it?
If the size changes as a result of the logic being executed, then it's just a matter of disabling code until the problem stops.
Please share the answer when you find it.
cheers.
‎03-06-2006 09:09 AM
OK, finally find what happen. After I make the VI read only, then I found the error. I miss wired the config VI path, and I use default on "write config data" on close config data vi, so that messed up my vi.
Thank you very much!!