LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

build error - trying to schedule during const pass

I recently upgraded to 8.2.  I have a rather large project that used to build an executable successfully with Labview 8.0.1, but now when I try to build I get an error telling me contact LabVIEW tech support, and the error text is "trying to schedule during const pass".  Once I click OK on the error, I get a few more error messages saying "compiler error: ufpstart err, avail=0x2B14" (a couple appear with different numbers), then the build continues, but at the end reports that it was unsuccessful, and doesn't include any additional error message.  Other projects I had still build fine, so I don't know what could be wrong with this one.

I have recompiled my entire project (ctrl-shift click on run error), and I've tried creating a new build specification, but I still get the same error.  Any help would be very appreciated!
0 Kudos
Message 1 of 2
(2,537 Views)
I've managed to solve this.  FIrst I needed to look at the Build Status to figure out which VI was causing the problem.  Once I found the VI, it was a matter of placing diagram disable structures in different places to see what area was causing the problem.  I had a case structure which, depending on an enum input, passed 2 different enum constants out, and it seems this was causing the problem.  Removing and recreating the case structure solved the problem.
Message 2 of 2
(2,530 Views)