06-05-2006 04:09 PM
06-07-2006 08:17 AM
Hello Tak,
I haven't ever seen a case where a datafile will somehow work when it is run on the development system but will only give a single data point when the VI is embedded. So my first guess would be that the loop may not be executing multiple times. I am not sure what the stop conditions are in your while loop, but it sounds like one of those conditions is somehow being met during the first loop iteration (or possibly even before the loop executes since a while loop must execute one time). I think the easiest way to check this would be to try and run the VI with highlight execution turned on, and veryify if multiple loop iterations are in fact occurring. If not, we can try and figure out why the stop condition is only being triggered when the VI is run embedded.
Hopefully this gets us started!
John
06-08-2006 08:00 AM
Hi Jhottenroth,
Before, I was wondering if there is some functions that may not be supported when I embedded that causes that. As you said it should not happen, I will double check my program, make sure there is not my stupid mistake that causes that. Thanks for your suggestions.
tak
06-08-2006 12:00 PM
06-09-2006 07:52 AM