12-03-2012 01:10 PM
Hi Joel,
Thanks for your message.
With the last code that I posted (flat sequence structure), the program runs well for the first time!
But when I stop it and hit run again, I get error: 200022. Please see screenshot attached.
Maybe it needs a reset on exit? I dont know how to do that.
Cheers,
Saif
12-03-2012 02:40 PM
@Vhha1972 wrote:
Hi Joel,
Thanks for your message.
With the last code that I posted (flat sequence structure), the program runs well for the first time!
But when I stop it and hit run again, I get error: 200022. Please see screenshot attached.
Maybe it needs a reset on exit? I dont know how to do that.
Cheers,
Saif
Never use the stop sign to abort a VI! This results in no housekeeping being done. Your task is most likely still open when you run it again. Hence the error.
12-03-2012 03:01 PM
Hi Bill,
Your advice has been most useful!
When I use the proper stop button, I dont get that error - thanks 🙂
Now, I will try the more complicated code. But I am hopeful that it will work since this one works.
Will keep you all posted.
Thanks again to all!
Saif
12-03-2012 04:30 PM
Hi Again,
The problem is actually not fully resolved.
I tried it a couple of times by using the preferred stop button as opposed to the abort button.
Again, it fails on the second start. Earlier, it worked a few times. But now it fails again.
Any more suggestions?
Cheers,
Saif
12-03-2012 04:30 PM
same error: 200022
12-03-2012 04:52 PM
@Vhha1972 wrote:
same error: 200022
I think if you aborted ONCE you will get that error until you shut LabVIEW all the way down then restart it.
12-03-2012 04:57 PM
Hi Bill,
I shut down everything, restarted my laptop, restarted Labview, then just used the preferred stop button. But it only works the first time.
Cheers,
Saif
12-03-2012 05:32 PM
@Vhha1972 wrote:
Hi Bill,
I shut down everything, restarted my laptop, restarted Labview, then just used the preferred stop button. But it only works the first time.
Cheers,
Saif
Drat. I can't actually see your VI (I'm only at LV 7.1) so they were educated guesses. I guess I will have to turn this over to someone who can actually see what you are doing. Sorry 😞
12-03-2012 05:42 PM
I am attaching my VI again. Its in V8.6.
Hope someone could help!
Saif
12-03-2012 05:53 PM
save with options --> save for previous --> 7.1 and I'll still be able to help. 😉