11-20-2019 07:20 PM
Hello Albert,
Thank you very much for your prompt response on my request. I truly appreciate it. Per your suggestion I modified my program and now the write VI is working perfect without getting any error, I can write the value and also when the certain condition has reached the case structure also working properly. But now the issue is when I close/stop my labview program all my project windows get close automatically even though first I click on the close button (in front panel) of the controller, and I have to open my project again and its asking for recovery (which I guess usual, since the program did not close in proper way). I think I am missing something in the revised program. I have attached the image of the updated VIs for your information. I will appreciate your further suggestion fixing this issue.
Thank you.
Momin
11-21-2019 03:48 AM
I saw a false connected to the while loop, so it never stops...
How do you stop your program?
By accident do you press abort, the red dot in the upper left of the window?
Furthermore what are Ilabview in and Ilabview out?
Something with .net but is that used in the controller?
These probably play a part in crashing because of not stopping the program correctly.
I advise to place the stopbutton in the while and connect it to the end terminal of the while instead of the constant false.
12-03-2019 01:04 PM
Hello Albert,
Sorry for late response. Thank you for your suggestions. Yes it is working now after replacing the stop button. Great!
Regards,
Momin