03-28-2007 05:34 PM
03-29-2007 08:51 AM - edited 03-29-2007 08:51 AM
On the block diagram of your main VI right click on each of the sub VIs select Call Setup... choose the selection Reload for Each call.
Message Edited by AndrewAlford on 03-29-2007 07:51 AM
03-29-2007 11:30 AM
I still seem to be having issues. By doing that (chaging the call setup to reload each time) I am getting the correct execution time (everything seemed fine on the test VI, only looking at the timing) but when I did the same thing to my relay control VI I still had the same problem. The only thing that changed is that one of the instances of the subVI had the correct timing but the other 3, still executed as fast as possible. I've included that actual VI's I'm using as well.
Thanks for any help
04-01-2007 05:01 PM
04-02-2007 09:57 AM
04-03-2007 05:24 PM
04-09-2007 04:46 PM
Here are the missing subVIs.
And I believe this is an actual bug with the loop and there has been a submission to R&D with the CAR # 488945ZQ
04-09-2007 09:14 PM
04-10-2007 10:26 AM
04-10-2007 11:03 AM
After converting the flat sequence to a timed sequence, I see the behavior you are talking about. It took 20.093 seconds to run as a flat sequence, but only .06-.1 seconds as a timed sequence. But if I have one one reentrant sub-VI, it took only .03 seconds to run.
I remember reading about some bugs with timed sequences. I did a search on "timed sequence bug" and came up with 2 interesting links.
http://forums.ni.com/ni/board/message?board.id=170&message.id=212951&query.id=190869#M212951
http://forums.ni.com/ni/board/message?board.id=170&message.id=222334&query.id=190878#M222334
I don't know if these help. I am also running 8.2, and the one link mentions a bug in 8.0 that was fixed in 8.2.
Maybe the timed sequences are "stepping on each other" in Labview memory? I don't think I can help anymore with this one. Perhaps the NI experts can investigate it more.