12-07-2021 10:15 AM
Anil@8899 wrote:
I have removed the Flat sequence and avoided some local variable ,
and now it is working .
That might not be enough, because even if it is currently "working", there might still be race condition that can break it at any time in the future (e.g. after building an executable, after a LabVIEW update, or on a different computer). Looking at the original code picture, there are so many things wrong that a major overhaul seems more logical.
12-07-2021 11:35 AM
This part
and avoided some local variable ,
is troubling. Local variables are common sources of race conditions, and race conditions have a tendency to rear their ugly heads in the future. I wouldn't be at all surprised if you were coming back at some point asking why your program was working but now it's not. If you would post the code that you have I expect that you will get some good advice on how to further improve your program.
12-07-2021 12:19 PM
Anil@8899 wrote:
Thanks all ,
I have removed the Flat sequence and avoided some local variable ,
and now it is working .
(Your first!) kudo was for keeping us informed 😊...
I agree that although it's working, it might not (yet) be correct.